Skip to content
Vectorlight.net

#ab58cc

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

HEX
#ab58cc
RGB
171, 88, 204
HSL
282.93°, 53.21%, 57.25%
OKLCH
0.61 0.18 315.33
Names
—
Lists

Codes

FormatValue
HEX#ab58cc
RGBrgb(171 88 204)
HSLhsl(282.93 53.21% 57.25%)
OKLCHoklch(0.61 0.18 315.33)
CMYKcmyk(16.18% 56.86% 0% 20%)
Android#ffab58cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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