Color #8a5a7c
A muted medium magenta.
Conversions
#8a5a7c
rgb(138, 90, 124)
hsl(317.5, 21.1%, 44.7%)
hsv(317.5, 34.8%, 54.1%)
cmyk(0%, 34.8%, 10.1%, 45.9%)
lab(44.48, 25.25, -11.03)
lch(44.48, 27.55, 336.4)
oklch(53.1%, 0.0788, 338.09)
hwb(317.5, 35.3%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (5.48:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#787875 · ΔE 23.6
Deuteranopia
#7b7e73 · ΔE 30.6
Tritanopia
#886f6d · ΔE 15
Achromatopsia
#696969 · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a5a7c;
bg-[#8a5a7c]
Related colors
Frequently asked questions
#8a5a7c (#8a5a7c) is rgb(138, 90, 124) in RGB.
No, #8a5a7c 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 #8a5a7c, or check how it holds up for accessibility.