Color #8e7ea8
A muted medium purple.
Conversions
#8e7ea8
rgb(142, 126, 168)
hsl(262.9, 19.4%, 57.6%)
hsv(262.9, 25%, 65.9%)
cmyk(15.5%, 25%, 0%, 34.1%)
lab(55.58, 14.7, -20.08)
lch(55.58, 24.89, 306.21)
oklch(62.3%, 0.0647, 302)
hwb(262.9, 49.4%, 34.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.7:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#87879f · ΔE 8.1
Deuteranopia
#88899d · ΔE 9.7
Tritanopia
#8d9896 · ΔE 21.8
Achromatopsia
#858585 · ΔE 17.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8e7ea8;
bg-[#8e7ea8]
Related colors
Frequently asked questions
#8e7ea8 (#8e7ea8) is rgb(142, 126, 168) in RGB.
No, #8e7ea8 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 #8e7ea8, or check how it holds up for accessibility.