Color #8e4fa6
A muted medium purple.
Conversions
#8e4fa6
rgb(142, 79, 166)
hsl(283.4, 35.5%, 48%)
hsv(283.4, 52.4%, 65.1%)
cmyk(14.5%, 52.4%, 0%, 34.9%)
lab(44.37, 41.25, -36.34)
lch(44.37, 54.97, 318.62)
oklch(53.8%, 0.1455, 315.92)
hwb(283.4, 31%, 34.9%)
Harmony colors
Accessibility
White text reads better on this background (5.5:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#787797 · ΔE 16.9
Deuteranopia
#7b7f93 · ΔE 20.3
Tritanopia
#8c8986 · ΔE 29.7
Achromatopsia
#696969 · ΔE 25.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8e4fa6;
bg-[#8e4fa6]
Related colors
Frequently asked questions
#8e4fa6 (#8e4fa6) is rgb(142, 79, 166) in RGB.
No, #8e4fa6 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 #8e4fa6, or check how it holds up for accessibility.