Skip to content
Vectorlight.net

#ab59cb

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

HEX
#ab59cb
RGB
171, 89, 203
HSL
283.16°, 52.29%, 57.25%
OKLCH
0.61 0.18 315.54
Names
—
Lists

Codes

FormatValue
HEX#ab59cb
RGBrgb(171 89 203)
HSLhsl(283.16 52.29% 57.25%)
OKLCHoklch(0.61 0.18 315.54)
CMYKcmyk(15.76% 56.16% 0% 20.39%)
Android#ffab59cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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