Color #9d7ea8
A muted medium purple.
Conversions
#9d7ea8
rgb(157, 126, 168)
hsl(284.3, 19.4%, 57.6%)
hsv(284.3, 25%, 65.9%)
cmyk(6.5%, 25%, 0%, 34.1%)
lab(56.99, 19.76, -17.8)
lch(56.99, 26.6, 317.99)
oklch(63.7%, 0.071, 317.11)
hwb(284.3, 49.4%, 34.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.98:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#91909f · ΔE 13.6
Deuteranopia
#92959d · ΔE 17.4
Tritanopia
#9c9896 · ΔE 19.9
Achromatopsia
#898989 · ΔE 19.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9d7ea8;
bg-[#9d7ea8]
Related colors
Frequently asked questions
#9d7ea8 (#9d7ea8) is rgb(157, 126, 168) in RGB.
No, #9d7ea8 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 #9d7ea8, or check how it holds up for accessibility.