Color #9f4cb8
A moderately saturated medium purple.
Conversions
#9f4cb8
rgb(159, 76, 184)
hsl(286.1, 43.2%, 51%)
hsv(286.1, 58.7%, 72.2%)
cmyk(13.6%, 58.7%, 0%, 27.8%)
lab(46.98, 51.17, -42.66)
lch(46.98, 66.62, 320.18)
oklch(56.5%, 0.1771, 317.75)
hwb(286.1, 29.8%, 27.8%)
Harmony colors
Accessibility
White text reads better on this background (5:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8383a6 · ΔE 20.1
Deuteranopia
#878da1 · ΔE 23.4
Tritanopia
#9c9692 · ΔE 32.3
Achromatopsia
#6f6f6f · ΔE 26.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f4cb8;
bg-[#9f4cb8]
Related colors
Frequently asked questions
#9f4cb8 (#9f4cb8) is rgb(159, 76, 184) in RGB.
No, #9f4cb8 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #9f4cb8, or check how it holds up for accessibility.