Color #987ec8
A moderately saturated light purple.
Conversions
#987ec8
rgb(152, 126, 200)
hsl(261.1, 40.2%, 63.9%)
hsv(261.1, 37%, 78.4%)
cmyk(24%, 37%, 0%, 21.6%)
lab(57.82, 25.38, -34.84)
lch(57.82, 43.1, 306.07)
oklch(64.6%, 0.1112, 299.47)
hwb(261.1, 49.4%, 21.6%)
Harmony colors
Accessibility
Black text reads better on this background (6.15:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8d8dba · ΔE 7.8
Deuteranopia
#8f91b6 · ΔE 9.8
Tritanopia
#97adaa · ΔE 26.1
Achromatopsia
#8b8b8b · ΔE 22.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #987ec8;
bg-[#987ec8]
Related colors
Frequently asked questions
#987ec8 (#987ec8) is rgb(152, 126, 200) in RGB.
No, #987ec8 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 #987ec8, or check how it holds up for accessibility.