Skip to content
Vectorlight.net

#ab9ecb

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

HEX
#ab9ecb
RGB
171, 158, 203
HSL
257.33°, 30.2%, 70.78%
OKLCH
0.73 0.07 297.98
Names
—
Lists

Codes

FormatValue
HEX#ab9ecb
RGBrgb(171 158 203)
HSLhsl(257.33 30.2% 70.78%)
OKLCHoklch(0.73 0.07 297.98)
CMYKcmyk(15.76% 22.17% 0% 20.39%)
Android#ffab9ecb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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