Color #9a7b8f
A nearly neutral, gray-leaning medium magenta.
Conversions
#9a7b8f
rgb(154, 123, 143)
hsl(321.3, 13.3%, 54.3%)
hsv(321.3, 20.1%, 60.4%)
cmyk(0%, 20.1%, 7.1%, 39.6%)
lab(55.09, 15.48, -6.24)
lch(55.09, 16.69, 338.05)
oklch(61.9%, 0.0476, 339.7)
hwb(321.3, 48.2%, 39.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.6:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8e8d8a · ΔE 17.3
Deuteranopia
#8f9289 · ΔE 23.3
Tritanopia
#998786 · ΔE 10.4
Achromatopsia
#848484 · ΔE 15.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a7b8f;
bg-[#9a7b8f]
Related colors
Frequently asked questions
#9a7b8f (#9a7b8f) is rgb(154, 123, 143) in RGB.
No, #9a7b8f 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 #9a7b8f, or check how it holds up for accessibility.