Skip to content
Vectorlight.net

#ab9dcd

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

HEX
#ab9dcd
RGB
171, 157, 205
HSL
257.5°, 32.43%, 70.98%
OKLCH
0.72 0.07 298
Names
—
Lists

Codes

FormatValue
HEX#ab9dcd
RGBrgb(171 157 205)
HSLhsl(257.5 32.43% 70.98%)
OKLCHoklch(0.72 0.07 298)
CMYKcmyk(16.59% 23.41% 0% 19.61%)
Android#ffab9dcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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