Color #ab52bb
A moderately saturated medium magenta.
Conversions
#ab52bb
rgb(171, 82, 187)
hsl(290.9, 43.6%, 52.7%)
hsv(290.9, 56.1%, 73.3%)
cmyk(8.6%, 56.1%, 0%, 26.7%)
lab(49.84, 51.98, -39.77)
lch(49.84, 65.45, 322.58)
oklch(59%, 0.1766, 321.32)
hwb(290.9, 32.2%, 26.7%)
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
#8d8da9 · ΔE 21.6
Deuteranopia
#9297a4 · ΔE 24.4
Tritanopia
#a89995 · ΔE 30.3
Achromatopsia
#767676 · ΔE 26.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab52bb;
bg-[#ab52bb]
Related colors
Frequently asked questions
#ab52bb (#ab52bb) is rgb(171, 82, 187) in RGB.
No, #ab52bb 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 #ab52bb, or check how it holds up for accessibility.