Skip to content
Vectorlight.net

#ab9dcc

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

HEX
#ab9dcc
RGB
171, 157, 204
HSL
257.87°, 31.54%, 70.78%
OKLCH
0.72 0.07 298.31
Names
—
Lists

Codes

FormatValue
HEX#ab9dcc
RGBrgb(171 157 204)
HSLhsl(257.87 31.54% 70.78%)
OKLCHoklch(0.72 0.07 298.31)
CMYKcmyk(16.18% 23.04% 0% 20%)
Android#ffab9dcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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