Color #9d7e97
A nearly neutral, gray-leaning medium magenta.
Conversions
#9d7e97
rgb(157, 126, 151)
hsl(311.6, 13.7%, 55.5%)
hsv(311.6, 19.7%, 61.6%)
cmyk(0%, 19.7%, 3.8%, 38.4%)
lab(56.41, 16.37, -8.88)
lch(56.41, 18.62, 331.52)
oklch(63.1%, 0.0519, 332.94)
hwb(311.6, 49.4%, 38.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.86:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#919091 · ΔE 15.9
Deuteranopia
#929590 · ΔE 22.1
Tritanopia
#9c8d8c · ΔE 12.5
Achromatopsia
#878787 · ΔE 16.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9d7e97;
bg-[#9d7e97]
Related colors
Frequently asked questions
#9d7e97 (#9d7e97) is rgb(157, 126, 151) in RGB.
No, #9d7e97 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 #9d7e97, or check how it holds up for accessibility.