Color #9e79aa
A muted medium purple.
Conversions
#9e79aa
rgb(158, 121, 170)
hsl(285.3, 22.4%, 57.1%)
hsv(285.3, 28.8%, 66.7%)
cmyk(7.1%, 28.8%, 0%, 33.3%)
lab(55.93, 23.39, -20.56)
lch(55.93, 31.14, 318.68)
oklch(62.9%, 0.0832, 317.73)
hwb(285.3, 47.5%, 33.3%)
Harmony colors
Accessibility
Black text reads better on this background (5.77:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8fa0 · ΔE 14.9
Deuteranopia
#92949d · ΔE 18.3
Tritanopia
#9c9795 · ΔE 21.4
Achromatopsia
#868686 · ΔE 20.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9e79aa;
bg-[#9e79aa]
Related colors
Frequently asked questions
#9e79aa (#9e79aa) is rgb(158, 121, 170) in RGB.
No, #9e79aa 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 #9e79aa, or check how it holds up for accessibility.