Color #8a5291
A muted medium magenta.
Conversions
#8a5291
rgb(138, 82, 145)
hsl(293.3, 27.8%, 44.5%)
hsv(293.3, 43.4%, 56.9%)
cmyk(4.8%, 43.4%, 0%, 43.1%)
lab(43.48, 33.95, -25.24)
lch(43.48, 42.3, 323.37)
oklch(52.7%, 0.115, 322.95)
hwb(293.3, 32.2%, 43.1%)
Harmony colors
Accessibility
White text reads better on this background (5.68:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#767585 · ΔE 18.5
Deuteranopia
#797c82 · ΔE 22
Tritanopia
#887b78 · ΔE 24
Achromatopsia
#676767 · ΔE 23.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a5291;
bg-[#8a5291]
Related colors
Frequently asked questions
#8a5291 (#8a5291) is rgb(138, 82, 145) in RGB.
No, #8a5291 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 #8a5291, or check how it holds up for accessibility.