Color #9f74ab
A muted medium purple.
Conversions
#9f74ab
rgb(159, 116, 171)
hsl(286.9, 24.7%, 56.3%)
hsv(286.9, 32.2%, 67.1%)
cmyk(7%, 32.2%, 0%, 32.9%)
lab(54.87, 26.8, -22.77)
lch(54.87, 35.17, 319.65)
oklch(62.2%, 0.0942, 318.75)
hwb(286.9, 45.5%, 32.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.56:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8e8ea0 · ΔE 15.8
Deuteranopia
#91949d · ΔE 19.5
Tritanopia
#9d9694 · ΔE 22.3
Achromatopsia
#838383 · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f74ab;
bg-[#9f74ab]
Related colors
Frequently asked questions
#9f74ab (#9f74ab) is rgb(159, 116, 171) in RGB.
No, #9f74ab 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 #9f74ab, or check how it holds up for accessibility.