Color #8a5790
A muted medium magenta.
Conversions
#8a5790
rgb(138, 87, 144)
hsl(293.7, 24.7%, 45.3%)
hsv(293.7, 39.6%, 56.5%)
cmyk(4.2%, 39.6%, 0%, 43.5%)
lab(44.57, 30.89, -22.96)
lch(44.57, 38.49, 323.38)
oklch(53.5%, 0.1046, 323.12)
hwb(293.7, 34.1%, 43.5%)
Harmony colors
Accessibility
White text reads better on this background (5.46:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#777785 · ΔE 18.5
Deuteranopia
#7a7d82 · ΔE 21.5
Tritanopia
#887b79 · ΔE 22.3
Achromatopsia
#696969 · ΔE 22.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a5790;
bg-[#8a5790]
Related colors
Frequently asked questions
#8a5790 (#8a5790) is rgb(138, 87, 144) in RGB.
No, #8a5790 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 #8a5790, or check how it holds up for accessibility.