Skip to content
Kolorvia
#ab27c4

Color #ab27c4

A moderately saturated medium magenta.

Conversions

HEX
#ab27c4
RGB
rgb(171, 39, 196)
HSL
hsl(290.4, 66.8%, 46.1%)
HSV / HSB
hsv(290.4, 80.1%, 76.9%)
CMYK
cmyk(12.8%, 80.1%, 0%, 23.1%)
LAB
lab(44.37, 70.41, -53.72)
LCH
lch(44.37, 88.56, 322.66)
OKLCH
oklch(55.2%, 0.2369, 320.46)
HWB
hwb(290.4, 15.3%, 23.1%)

Harmony colors

Complementary

#40c427

Analogous

#5c27c4
#ab27c4
#c4278f

Triadic

#ab27c4
#c4ab27
#27c4ab

Split-complementary

#ab27c4
#8fc427
#27c45c

Tetradic

#ab27c4
#c42740
#40c427
#27c4ab

Square

#ab27c4
#c45c27
#40c427
#278fc4

Shades

Color #ab27c4 mixed toward black.

#8e21a3
#721a83
#551462
#390d41
#1c0721

Tints

Color #ab27c4 mixed toward white.

#c040d9
#cd66e1
#d98ce8
#e6b3f0
#f2d9f7

Tones

Color #ab27c4 mixed toward gray.

#a234b7
#9941aa
#904e9d
#875b90
#7e6883

Accessibility

Aa White text on this color
5.5:1
Aa Black text on this color
3.82:1

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

Under color vision deficiencies

Protanopia

#8685ae · ΔE 24.9

Deuteranopia

#8c93a8 · ΔE 29.1

Tritanopia

#a79a95 · ΔE 36.7

Achromatopsia

#696969 · ΔE 29.6

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

Code

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

Related colors

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

Frequently asked questions

#ab27c4 (#ab27c4) is rgb(171, 39, 196) in RGB.

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