Skip to content
Vectorlight.net

#ab1bbe

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

HEX
#ab1bbe
RGB
171, 27, 190
HSL
293.01°, 75.12%, 42.55%
OKLCH
0.54 0.24 322.45
Names
—
Lists

Codes

FormatValue
HEX#ab1bbe
RGBrgb(171 27 190)
HSLhsl(293.01 75.12% 42.55%)
OKLCHoklch(0.54 0.24 322.45)
CMYKcmyk(10% 85.79% 0% 25.49%)
Android#ffab1bbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.63: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="#ab1bbe"
Gradient stop
<stop stop-color="#ab1bbe"/>
CSS variable + fill
:root { --c: #ab1bbe; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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