Skip to content
Vectorlight.net

#ab58aa

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

HEX
#ab58aa
RGB
171, 88, 170
HSL
300.72°, 33.07%, 50.78%
OKLCH
0.59 0.15 327.72
Names
—
Lists

Codes

FormatValue
HEX#ab58aa
RGBrgb(171 88 170)
HSLhsl(300.72 33.07% 50.78%)
OKLCHoklch(0.59 0.15 327.72)
CMYKcmyk(0% 48.54% 0.58% 32.94%)
Android#ffab58aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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