Skip to content
Kolorvia
#ab2fbc

Color #ab2fbc

A moderately saturated medium magenta.

Conversions

HEX
#ab2fbc
RGB
rgb(171, 47, 188)
HSL
hsl(292.8, 60%, 46.1%)
HSV / HSB
hsv(292.8, 75%, 73.7%)
CMYK
cmyk(9%, 75%, 0%, 26.3%)
LAB
lab(44.69, 66.62, -48.53)
LCH
lch(44.69, 82.42, 323.93)
OKLCH
oklch(55.3%, 0.2231, 322.54)
HWB
hwb(292.8, 18.4%, 26.3%)

Harmony colors

Complementary

#40bc2f

Analogous

#652fbc
#ab2fbc
#bc2f86

Triadic

#ab2fbc
#bcab2f
#2fbcab

Split-complementary

#ab2fbc
#86bc2f
#2fbc65

Tetradic

#ab2fbc
#bc2f40
#40bc2f
#2fbcab

Square

#ab2fbc
#bc652f
#40bc2f
#2f86bc

Shades

Color #ab2fbc mixed toward black.

#8f279d
#721f7d
#56185e
#39103f
#1d081f

Tints

Color #ab2fbc mixed toward white.

#c148d1
#cd6cda
#da91e4
#e6b6ed
#f3daf6

Tones

Color #ab2fbc mixed toward gray.

#a23bb0
#9947a5
#905299
#875e8d
#7e6a81

Accessibility

Aa White text on this color
5.43:1
Aa Black text on this color
3.86:1

White text reads better on this background (5.43:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#8786a7 · ΔE 25.1

Deuteranopia

#8d93a2 · ΔE 28.6

Tritanopia

#a79490 · ΔE 34.1

Achromatopsia

#6a6a6a · ΔE 28.9

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

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

Related colors

Medium Orchid #ba55d3
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#ab2fbc (#ab2fbc) is rgb(171, 47, 188) in RGB.

No, #ab2fbc 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 #ab2fbc, 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.