Color #9c7eb2
A muted medium purple.
Conversions
#9c7eb2
rgb(156, 126, 178)
hsl(274.6, 25.2%, 59.6%)
hsv(274.6, 29.2%, 69.8%)
cmyk(12.4%, 29.2%, 0%, 30.2%)
lab(57.27, 21.56, -23.12)
lch(57.27, 31.61, 313)
oklch(64%, 0.0831, 310.36)
hwb(274.6, 49.4%, 30.2%)
Harmony colors
Accessibility
Black text reads better on this background (6.04:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9090a7 · ΔE 12.1
Deuteranopia
#9294a5 · ΔE 14.6
Tritanopia
#9b9e9c · ΔE 22.6
Achromatopsia
#898989 · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9c7eb2;
bg-[#9c7eb2]
Related colors
Frequently asked questions
#9c7eb2 (#9c7eb2) is rgb(156, 126, 178) in RGB.
No, #9c7eb2 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 #9c7eb2, or check how it holds up for accessibility.