Color #9f4c8e
A muted medium magenta.
Conversions
#9f4c8e
rgb(159, 76, 142)
hsl(312.3, 35.3%, 46.1%)
hsv(312.3, 52.2%, 62.4%)
cmyk(0%, 52.2%, 10.7%, 37.6%)
lab(44.93, 43.25, -20.96)
lch(44.93, 48.06, 334.14)
oklch(54.3%, 0.1377, 335.69)
hwb(312.3, 29.8%, 37.6%)
Harmony colors
Accessibility
White text reads better on this background (5.39:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#838382 · ΔE 27.3
Deuteranopia
#878d7f · ΔE 38.6
Tritanopia
#9c7775 · ΔE 21.5
Achromatopsia
#6a6a6a · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f4c8e;
bg-[#9f4c8e]
Related colors
Frequently asked questions
#9f4c8e (#9f4c8e) is rgb(159, 76, 142) in RGB.
No, #9f4c8e 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 #9f4c8e, or check how it holds up for accessibility.