Color #8e7aaa
A muted medium purple.
Conversions
#8e7aaa
rgb(142, 122, 170)
hsl(265, 22%, 57.3%)
hsv(265, 28.2%, 66.7%)
cmyk(16.5%, 28.2%, 0%, 33.3%)
lab(54.63, 17.49, -22.7)
lch(54.63, 28.66, 307.61)
oklch(61.6%, 0.0746, 303.35)
hwb(265, 47.8%, 33.3%)
Harmony colors
Accessibility
Black text reads better on this background (5.51:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8686a0 · ΔE 9
Deuteranopia
#87889e · ΔE 10.6
Tritanopia
#8d9896 · ΔE 22.8
Achromatopsia
#838383 · ΔE 19.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8e7aaa;
bg-[#8e7aaa]
Related colors
Frequently asked questions
#8e7aaa (#8e7aaa) is rgb(142, 122, 170) in RGB.
No, #8e7aaa 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 #8e7aaa, or check how it holds up for accessibility.