Skip to content
Vectorlight.net

#ab58da

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

HEX
#ab58da
RGB
171, 88, 218
HSL
278.31°, 63.73%, 60%
OKLCH
0.62 0.2 311.38
Names
—
Lists

Codes

FormatValue
HEX#ab58da
RGBrgb(171 88 218)
HSLhsl(278.31 63.73% 60%)
OKLCHoklch(0.62 0.2 311.38)
CMYKcmyk(21.56% 59.63% 0% 14.51%)
Android#ffab58da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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