Color #9e87ef
A vivid, highly saturated light blue.
Conversions
#9e87ef
rgb(158, 135, 239)
hsl(253.3, 76.5%, 73.3%)
hsv(253.3, 43.5%, 93.7%)
cmyk(33.9%, 43.5%, 0%, 6.3%)
lab(62.36, 31.67, -49.46)
lch(62.36, 58.73, 302.63)
oklch(68.8%, 0.1502, 292.14)
hwb(253.3, 52.9%, 6.3%)
Harmony colors
Accessibility
Black text reads better on this background (7.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#9594dc · ΔE 6
Deuteranopia
#9698d7 · ΔE 7.7
Tritanopia
#9dcbc7 · ΔE 31
Achromatopsia
#979797 · ΔE 25.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9e87ef;
bg-[#9e87ef]
Related colors
Frequently asked questions
#9e87ef (#9e87ef) is rgb(158, 135, 239) in RGB.
No, #9e87ef 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 #9e87ef, or check how it holds up for accessibility.