Color #ab58ba
A moderately saturated medium magenta.
Conversions
#ab58ba
rgb(171, 88, 186)
hsl(290.8, 41.5%, 53.7%)
hsv(290.8, 52.7%, 72.9%)
cmyk(8.1%, 52.7%, 0%, 27.1%)
lab(50.9, 48.8, -37.51)
lch(50.9, 61.55, 322.45)
oklch(59.7%, 0.1662, 321.3)
hwb(290.8, 34.5%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (4.84:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8ea9 · ΔE 20.6
Deuteranopia
#9398a4 · ΔE 23.6
Tritanopia
#a89996 · ΔE 28.8
Achromatopsia
#797979 · ΔE 26.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab58ba;
bg-[#ab58ba]
Related colors
Frequently asked questions
#ab58ba (#ab58ba) is rgb(171, 88, 186) in RGB.
No, #ab58ba 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 #ab58ba, or check how it holds up for accessibility.