Skip to content
Vectorlight.net

#ab59e1

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

HEX
#ab59e1
RGB
171, 89, 225
HSL
276.18°, 69.39%, 61.57%
OKLCH
0.62 0.2 309.48
Names
—
Lists

Codes

FormatValue
HEX#ab59e1
RGBrgb(171 89 225)
HSLhsl(276.18 69.39% 61.57%)
OKLCHoklch(0.62 0.2 309.48)
CMYKcmyk(24% 60.44% 0% 11.76%)
Android#ffab59e1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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