Skip to content
Vectorlight.net

#ab9bdb

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

HEX
#ab9bdb
RGB
171, 155, 219
HSL
255°, 47.06%, 73.33%
OKLCH
0.73 0.09 295.47
Names
—
Lists

Codes

FormatValue
HEX#ab9bdb
RGBrgb(171 155 219)
HSLhsl(255 47.06% 73.33%)
OKLCHoklch(0.73 0.09 295.47)
CMYKcmyk(21.92% 29.22% 0% 14.12%)
Android#ffab9bdb

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

Recolor an SVG with this color

CSS

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