Color #9e7ca9
A muted medium purple.
Conversions
#9e7ca9
rgb(158, 124, 169)
hsl(285.3, 20.7%, 57.5%)
hsv(285.3, 26.6%, 66.3%)
cmyk(6.5%, 26.6%, 0%, 33.7%)
lab(56.63, 21.46, -18.92)
lch(56.63, 28.61, 318.6)
oklch(63.4%, 0.0765, 317.76)
hwb(285.3, 48.6%, 33.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.91:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9190a0 · ΔE 14.1
Deuteranopia
#92959d · ΔE 18.1
Tritanopia
#9d9896 · ΔE 20.4
Achromatopsia
#888888 · ΔE 19.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9e7ca9;
bg-[#9e7ca9]
Related colors
Frequently asked questions
#9e7ca9 (#9e7ca9) is rgb(158, 124, 169) in RGB.
No, #9e7ca9 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 #9e7ca9, or check how it holds up for accessibility.