Skip to content
Kolorvia
#ab52bc

Color #ab52bc

A moderately saturated medium magenta.

Conversions

HEX
#ab52bc
RGB
rgb(171, 82, 188)
HSL
hsl(290.4, 44.2%, 52.9%)
HSV / HSB
hsv(290.4, 56.4%, 73.7%)
CMYK
cmyk(9%, 56.4%, 0%, 26.3%)
LAB
lab(49.89, 52.17, -40.27)
LCH
lch(49.89, 65.9, 322.34)
OKLCH
oklch(59%, 0.1776, 320.99)
HWB
hwb(290.4, 32.2%, 26.3%)

Harmony colors

Complementary

#63bc52

Analogous

#7652bc
#ab52bc
#bc5298

Triadic

#ab52bc
#bcab52
#52bcab

Split-complementary

#ab52bc
#98bc52
#52bc76

Tetradic

#ab52bc
#bc5263
#63bc52
#52bcab

Square

#ab52bc
#bc7652
#63bc52
#5298bc

Shades

Color #ab52bc mixed toward black.

#923fa2
#753282
#582661
#3a1941
#1d0d20

Tints

Color #ab52bc mixed toward white.

#b96fc7
#c78cd2
#d5a8dd
#e3c5e9
#f1e2f4

Tones

Color #ab52bc mixed toward gray.

#a55bb3
#9f64aa
#996ca1
#937599
#8d7e90

Accessibility

Aa White text on this color
4.5:1
Aa Black text on this color
4.66:1

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

CSS
background-color: #ab52bc;
Tailwind (arbitrary value)
bg-[#ab52bc]

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

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

Build something with this color

Generate a full palette from #ab52bc, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.