Color #987e8f
A nearly neutral, gray-leaning medium magenta.
Conversions
#987e8f
rgb(152, 126, 143)
hsl(320.8, 11.2%, 54.5%)
hsv(320.8, 17.1%, 59.6%)
cmyk(0%, 17.1%, 5.9%, 40.4%)
lab(55.67, 13.02, -5.41)
lch(55.67, 14.1, 337.44)
oklch(62.3%, 0.0399, 339.02)
hwb(320.8, 49.4%, 40.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.72:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8d8d8b · ΔE 15.5
Deuteranopia
#8f918a · ΔE 19.7
Tritanopia
#978887 · ΔE 9.4
Achromatopsia
#858585 · ΔE 13.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #987e8f;
bg-[#987e8f]
Related colors
Frequently asked questions
#987e8f (#987e8f) is rgb(152, 126, 143) in RGB.
No, #987e8f 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 #987e8f, or check how it holds up for accessibility.