Color #9d7c97
A nearly neutral, gray-leaning medium magenta.
Conversions
#9d7c97
rgb(157, 124, 151)
hsl(310.9, 14.4%, 55.1%)
hsv(310.9, 21%, 61.6%)
cmyk(0%, 21%, 3.8%, 38.4%)
lab(55.91, 17.51, -9.64)
lch(55.91, 19.99, 331.17)
oklch(62.7%, 0.0557, 332.51)
hwb(310.9, 48.6%, 38.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.76:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#909091 · ΔE 17
Deuteranopia
#929490 · ΔE 21.7
Tritanopia
#9c8c8b · ΔE 13
Achromatopsia
#868686 · ΔE 17
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9d7c97;
bg-[#9d7c97]
Related colors
Frequently asked questions
#9d7c97 (#9d7c97) is rgb(157, 124, 151) in RGB.
No, #9d7c97 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 #9d7c97, or check how it holds up for accessibility.