Color #8a5195
A muted medium magenta.
Conversions
#8a5195
rgb(138, 81, 149)
hsl(290.3, 29.6%, 45.1%)
hsv(290.3, 45.6%, 58.4%)
cmyk(7.4%, 45.6%, 0%, 41.6%)
lab(43.45, 35.34, -27.7)
lch(43.45, 44.9, 321.91)
oklch(52.7%, 0.1211, 320.96)
hwb(290.3, 31.8%, 41.6%)
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
#767588 · ΔE 18
Deuteranopia
#797c85 · ΔE 21.6
Tritanopia
#887d7b · ΔE 24.7
Achromatopsia
#676767 · ΔE 23.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a5195;
bg-[#8a5195]
Related colors
Frequently asked questions
#8a5195 (#8a5195) is rgb(138, 81, 149) in RGB.
No, #8a5195 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 #8a5195, or check how it holds up for accessibility.