Color #9f5a8c
A muted medium magenta.
Conversions
#9f5a8c
rgb(159, 90, 140)
hsl(316.5, 27.7%, 48.8%)
hsv(316.5, 43.4%, 62.4%)
cmyk(0%, 43.4%, 11.9%, 37.6%)
lab(47.72, 35.49, -15.49)
lch(47.72, 38.72, 336.42)
oklch(56.4%, 0.1113, 338.11)
hwb(316.5, 35.3%, 37.6%)
Harmony colors
Accessibility
White text reads better on this background (4.87:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#878682 · ΔE 27.1
Deuteranopia
#8a8f80 · ΔE 36.4
Tritanopia
#9c7a78 · ΔE 18.3
Achromatopsia
#717171 · ΔE 23.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f5a8c;
bg-[#9f5a8c]
Related colors
Frequently asked questions
#9f5a8c (#9f5a8c) is rgb(159, 90, 140) in RGB.
No, #9f5a8c 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 #9f5a8c, or check how it holds up for accessibility.