Skip to content
Vectorlight.net

#ab55bb

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

HEX
#ab55bb
RGB
171, 85, 187
HSL
290.59°, 42.86%, 53.33%
OKLCH
0.59 0.17 321.14
Names
—
Lists

Codes

FormatValue
HEX#ab55bb
RGBrgb(171 85 187)
HSLhsl(290.59 42.86% 53.33%)
OKLCHoklch(0.59 0.17 321.14)
CMYKcmyk(8.56% 54.55% 0% 26.67%)
Android#ffab55bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#ab55bb"
Gradient stop
<stop stop-color="#ab55bb"/>
CSS variable + fill
:root { --c: #ab55bb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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