Color #9f5d8e
A muted medium magenta.
Conversions
#9f5d8e
rgb(159, 93, 142)
hsl(315.5, 26.2%, 49.4%)
hsv(315.5, 41.5%, 62.4%)
cmyk(0%, 41.5%, 10.7%, 37.6%)
lab(48.45, 34.19, -15.57)
lch(48.45, 37.57, 335.52)
oklch(56.9%, 0.1075, 337.18)
hwb(315.5, 36.5%, 37.6%)
Harmony colors
Accessibility
White text reads better on this background (4.74:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#878784 · ΔE 26.6
Deuteranopia
#8b8f82 · ΔE 34.8
Tritanopia
#9d7c7a · ΔE 18.1
Achromatopsia
#737373 · ΔE 23.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f5d8e;
bg-[#9f5d8e]
Related colors
Frequently asked questions
#9f5d8e (#9f5d8e) is rgb(159, 93, 142) in RGB.
No, #9f5d8e 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 #9f5d8e, or check how it holds up for accessibility.