Color #987fc9
A moderately saturated light purple.
Conversions
#987fc9
rgb(152, 127, 201)
hsl(260.3, 40.7%, 64.3%)
hsv(260.3, 36.8%, 78.8%)
cmyk(24.4%, 36.8%, 0%, 21.2%)
lab(58.1, 25.05, -34.96)
lch(58.1, 43.01, 305.62)
oklch(64.9%, 0.1109, 298.85)
hwb(260.3, 49.8%, 21.2%)
Harmony colors
Accessibility
Black text reads better on this background (6.21:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8e8ebb · ΔE 7.7
Deuteranopia
#8f91b7 · ΔE 9.4
Tritanopia
#97aeab · ΔE 26.2
Achromatopsia
#8c8c8c · ΔE 22.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #987fc9;
bg-[#987fc9]
Related colors
Frequently asked questions
#987fc9 (#987fc9) is rgb(152, 127, 201) in RGB.
No, #987fc9 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 #987fc9, or check how it holds up for accessibility.