Skip to content
Vectorlight.net

#ab27bf

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ab27bf
RGB
171, 39, 191
HSL
292.11°, 66.09%, 45.1%
OKLCH
0.55 0.23 321.89
Names
—
Lists

Codes

FormatValue
HEX#ab27bf
RGBrgb(171 39 191)
HSLhsl(292.11 66.09% 45.1%)
OKLCHoklch(0.55 0.23 321.89)
CMYKcmyk(10.47% 79.58% 0% 25.1%)
Android#ffab27bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.56:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.77:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ab27bf"
Gradient stop
<stop stop-color="#ab27bf"/>
CSS variable + fill
:root { --c: #ab27bf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ab27bf;
background-color: #ab27bf;
bg-[#ab27bf]