Color #987bd5
A moderately saturated light blue.
Conversions
#987bd5
rgb(152, 123, 213)
hsl(259.3, 51.7%, 65.9%)
hsv(259.3, 42.3%, 83.5%)
cmyk(28.6%, 42.3%, 0%, 16.5%)
lab(57.7, 30.31, -42.37)
lch(57.7, 52.1, 305.58)
oklch(64.8%, 0.1336, 297.37)
hwb(259.3, 48.2%, 16.5%)
Harmony colors
Accessibility
Black text reads better on this background (6.13:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8c8cc4 · ΔE 8
Deuteranopia
#8e90c0 · ΔE 9.6
Tritanopia
#97b5b2 · ΔE 28.1
Achromatopsia
#8b8b8b · ΔE 24.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #987bd5;
bg-[#987bd5]
Related colors
Frequently asked questions
#987bd5 (#987bd5) is rgb(152, 123, 213) in RGB.
No, #987bd5 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 #987bd5, or check how it holds up for accessibility.