Color #8a4ea2
A muted medium purple.
Conversions
#8a4ea2
rgb(138, 78, 162)
hsl(282.9, 35%, 47.1%)
hsv(282.9, 51.9%, 63.5%)
cmyk(14.8%, 51.9%, 0%, 36.5%)
lab(43.45, 39.78, -35.46)
lch(43.45, 53.29, 318.29)
oklch(52.9%, 0.1409, 315.52)
hwb(282.9, 30.6%, 36.5%)
Harmony colors
Accessibility
White text reads better on this background (5.69:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#757493 · ΔE 16.5
Deuteranopia
#787c8f · ΔE 20
Tritanopia
#888683 · ΔE 29.7
Achromatopsia
#676767 · ΔE 24.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a4ea2;
bg-[#8a4ea2]
Related colors
Frequently asked questions
#8a4ea2 (#8a4ea2) is rgb(138, 78, 162) in RGB.
No, #8a4ea2 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 #8a4ea2, or check how it holds up for accessibility.