Color #8e7eb2
A muted medium blue.
Conversions
#8e7eb2
rgb(142, 126, 178)
hsl(258.5, 25.2%, 59.6%)
hsv(258.5, 29.2%, 69.8%)
cmyk(20.2%, 29.2%, 0%, 30.2%)
lab(55.97, 17.03, -25.23)
lch(55.97, 30.44, 304.02)
oklch(62.7%, 0.0789, 298.22)
hwb(258.5, 49.4%, 30.2%)
Harmony colors
Accessibility
Black text reads better on this background (5.78:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8787a7 · ΔE 6.9
Deuteranopia
#8889a5 · ΔE 8.3
Tritanopia
#8d9e9c · ΔE 23.7
Achromatopsia
#868686 · ΔE 19.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8e7eb2;
bg-[#8e7eb2]
Related colors
Frequently asked questions
#8e7eb2 (#8e7eb2) is rgb(142, 126, 178) in RGB.
No, #8e7eb2 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 #8e7eb2, or check how it holds up for accessibility.