Skip to content
Vectorlight.net

#ab9ee4

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

HEX
#ab9ee4
RGB
171, 158, 228
HSL
251.14°, 56.45%, 75.69%
OKLCH
0.74 0.1 292.26
Names
—
Lists

Codes

FormatValue
HEX#ab9ee4
RGBrgb(171 158 228)
HSLhsl(251.14 56.45% 75.69%)
OKLCHoklch(0.74 0.1 292.26)
CMYKcmyk(25% 30.7% 0% 10.59%)
Android#ffab9ee4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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