Skip to content
Kolorvia
#ab52bb

Color #ab52bb

A moderately saturated medium magenta.

Conversions

HEX
#ab52bb
RGB
rgb(171, 82, 187)
HSL
hsl(290.9, 43.6%, 52.7%)
HSV / HSB
hsv(290.9, 56.1%, 73.3%)
CMYK
cmyk(8.6%, 56.1%, 0%, 26.7%)
LAB
lab(49.84, 51.98, -39.77)
LCH
lch(49.84, 65.45, 322.58)
OKLCH
oklch(59%, 0.1766, 321.32)
HWB
hwb(290.9, 32.2%, 26.7%)

Harmony colors

Complementary

#62bb52

Analogous

#7652bb
#ab52bb
#bb5296

Triadic

#ab52bb
#bbab52
#52bbab

Split-complementary

#ab52bb
#96bb52
#52bb76

Tetradic

#ab52bb
#bb5262
#62bb52
#52bbab

Square

#ab52bb
#bb7652
#62bb52
#5296bb

Shades

Color #ab52bb mixed toward black.

#923fa1
#753381
#582660
#3a1940
#1d0d20

Tints

Color #ab52bb mixed toward white.

#b96fc6
#c78cd2
#d5a8dd
#e3c5e8
#f1e2f4

Tones

Color #ab52bb mixed toward gray.

#a55bb2
#9f63a9
#996ca1
#937598
#8c7e8f

Accessibility

Aa White text on this color
4.51: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

#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

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

Related colors

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

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

Build something with this color

Generate a full palette from #ab52bb, 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.