Skip to content
Vectorlight.net

#ab5dea

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

HEX
#ab5dea
RGB
171, 93, 234
HSL
273.19°, 77.05%, 64.12%
OKLCH
0.63 0.21 306.88
Names
—
Lists

Codes

FormatValue
HEX#ab5dea
RGBrgb(171 93 234)
HSLhsl(273.19 77.05% 64.12%)
OKLCHoklch(0.63 0.21 306.88)
CMYKcmyk(26.92% 60.26% 0% 8.24%)
Android#ffab5dea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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