Color #8e7ccc
A moderately saturated light blue.
Conversions
#8e7ccc
rgb(142, 124, 204)
hsl(253.5, 44%, 64.3%)
hsv(253.5, 39.2%, 80%)
cmyk(30.4%, 39.2%, 0%, 20%)
lab(56.61, 24.63, -39.06)
lch(56.61, 46.18, 302.23)
oklch(63.6%, 0.1187, 293.07)
hwb(253.5, 48.6%, 20%)
Harmony colors
Accessibility
Black text reads better on this background (5.91:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8786bd · ΔE 5.5
Deuteranopia
#8889b9 · ΔE 7
Tritanopia
#8dafac · ΔE 27.7
Achromatopsia
#888888 · ΔE 23.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8e7ccc;
bg-[#8e7ccc]
Related colors
Frequently asked questions
#8e7ccc (#8e7ccc) is rgb(142, 124, 204) in RGB.
No, #8e7ccc 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 #8e7ccc, or check how it holds up for accessibility.