Color #ab52bc
A moderately saturated medium magenta.
Conversions
#ab52bc
rgb(171, 82, 188)
hsl(290.4, 44.2%, 52.9%)
hsv(290.4, 56.4%, 73.7%)
cmyk(9%, 56.4%, 0%, 26.3%)
lab(49.89, 52.17, -40.27)
lch(49.89, 65.9, 322.34)
oklch(59%, 0.1776, 320.99)
hwb(290.4, 32.2%, 26.3%)
Harmony colors
Accessibility
Black text reads better on this background (4.66:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8d8daa · ΔE 21.4
Deuteranopia
#9297a5 · ΔE 24.4
Tritanopia
#a89a96 · ΔE 30.6
Achromatopsia
#777777 · ΔE 26.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab52bc;
bg-[#ab52bc]
Related colors
Frequently asked questions
#ab52bc (#ab52bc) is rgb(171, 82, 188) in RGB.
No, #ab52bc 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 #ab52bc, or check how it holds up for accessibility.