Color #987d9e
A nearly neutral, gray-leaning medium purple.
Conversions
#987d9e
rgb(152, 125, 158)
hsl(289.1, 14.5%, 55.5%)
hsv(289.1, 20.9%, 62%)
cmyk(3.8%, 20.9%, 0%, 38%)
lab(55.9, 16.54, -13.75)
lch(55.9, 21.51, 320.26)
oklch(62.6%, 0.0579, 320.12)
hwb(289.1, 49%, 38%)
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
#8d8d97 · ΔE 13.7
Deuteranopia
#8f9195 · ΔE 16.8
Tritanopia
#979190 · ΔE 16.4
Achromatopsia
#868686 · ΔE 17.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #987d9e;
bg-[#987d9e]
Related colors
Frequently asked questions
#987d9e (#987d9e) is rgb(152, 125, 158) in RGB.
No, #987d9e 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 #987d9e, or check how it holds up for accessibility.