Skip to content
Vectorlight.net

#ab5cdb

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

HEX
#ab5cdb
RGB
171, 92, 219
HSL
277.32°, 63.82%, 60.98%
OKLCH
0.62 0.19 310.68
Names
—
Lists

Codes

FormatValue
HEX#ab5cdb
RGBrgb(171 92 219)
HSLhsl(277.32 63.82% 60.98%)
OKLCHoklch(0.62 0.19 310.68)
CMYKcmyk(21.92% 57.99% 0% 14.12%)
Android#ffab5cdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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