Color #8e7ecb
A moderately saturated light blue.
Conversions
#8e7ecb
rgb(142, 126, 203)
hsl(252.5, 42.5%, 64.5%)
hsv(252.5, 37.9%, 79.6%)
cmyk(30%, 37.9%, 0%, 20.4%)
lab(57.06, 23.21, -37.79)
lch(57.06, 44.35, 301.56)
oklch(63.9%, 0.1141, 292.41)
hwb(252.5, 49.4%, 20.4%)
Harmony colors
Accessibility
Black text reads better on this background (6:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8787bc · ΔE 5.3
Deuteranopia
#8889b8 · ΔE 6.5
Tritanopia
#8dafac · ΔE 27.4
Achromatopsia
#898989 · ΔE 22.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8e7ecb;
bg-[#8e7ecb]
Related colors
Frequently asked questions
#8e7ecb (#8e7ecb) is rgb(142, 126, 203) in RGB.
No, #8e7ecb 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 #8e7ecb, or check how it holds up for accessibility.