Color #9e66b2
A muted medium purple.
Conversions
#9e66b2
rgb(158, 102, 178)
hsl(284.2, 33%, 54.9%)
hsv(284.2, 42.7%, 69.8%)
cmyk(11.2%, 42.7%, 0%, 30.2%)
lab(51.82, 35.89, -31.54)
lch(51.82, 47.78, 318.69)
oklch(59.9%, 0.1271, 316.75)
hwb(284.2, 40%, 30.2%)
Harmony colors
Accessibility
Black text reads better on this background (5:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8989a4 · ΔE 16.3
Deuteranopia
#8c90a0 · ΔE 19.5
Tritanopia
#9c9794 · ΔE 26.9
Achromatopsia
#7c7c7c · ΔE 24.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9e66b2;
bg-[#9e66b2]
Related colors
Frequently asked questions
#9e66b2 (#9e66b2) is rgb(158, 102, 178) in RGB.
No, #9e66b2 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 #9e66b2, or check how it holds up for accessibility.