Skip to content
Vectorlight.net

#ab9fdc

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

HEX
#ab9fdc
RGB
171, 159, 220
HSL
251.8°, 46.56%, 74.31%
OKLCH
0.73 0.09 293.13
Names
—
Lists

Codes

FormatValue
HEX#ab9fdc
RGBrgb(171 159 220)
HSLhsl(251.8 46.56% 74.31%)
OKLCHoklch(0.73 0.09 293.13)
CMYKcmyk(22.27% 27.73% 0% 13.73%)
Android#ffab9fdc

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.72: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="#ab9fdc"
Gradient stop
<stop stop-color="#ab9fdc"/>
CSS variable + fill
:root { --c: #ab9fdc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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