Color #9d7ea6
A muted medium purple.
Conversions
#9d7ea6
rgb(157, 126, 166)
hsl(286.5, 18.3%, 57.3%)
hsv(286.5, 24.1%, 65.1%)
cmyk(5.4%, 24.1%, 0%, 34.9%)
lab(56.92, 19.35, -16.76)
lch(56.92, 25.6, 319.1)
oklch(63.6%, 0.0685, 318.49)
hwb(286.5, 49.4%, 34.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.97:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#91909e · ΔE 13.7
Deuteranopia
#92959b · ΔE 17.9
Tritanopia
#9c9695 · ΔE 18.3
Achromatopsia
#898989 · ΔE 18.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9d7ea6;
bg-[#9d7ea6]
Related colors
Frequently asked questions
#9d7ea6 (#9d7ea6) is rgb(157, 126, 166) in RGB.
No, #9d7ea6 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 #9d7ea6, or check how it holds up for accessibility.