Color #987cff
A vivid, highly saturated light blue.
Conversions
#987cff
rgb(152, 124, 255)
hsl(252.8, 100%, 74.3%)
hsv(252.8, 51.4%, 100%)
cmyk(40.4%, 51.4%, 0%, 0%)
lab(60.17, 40.69, -61.8)
lch(60.17, 73.99, 303.36)
oklch(67.3%, 0.187, 290.31)
hwb(252.8, 48.6%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (6.66:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8d8ce8 · ΔE 6.6
Deuteranopia
#8e90e2 · ΔE 8.1
Tritanopia
#97d3cf · ΔE 35
Achromatopsia
#919191 · ΔE 27.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #987cff;
bg-[#987cff]
Related colors
Frequently asked questions
#987cff (#987cff) is rgb(152, 124, 255) in RGB.
No, #987cff 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 #987cff, or check how it holds up for accessibility.