Skip to content
Vectorlight.net

#ab92bb

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

HEX
#ab92bb
RGB
171, 146, 187
HSL
276.59°, 23.16%, 65.29%
OKLCH
0.7 0.07 312.07
Names
—
Lists

Codes

FormatValue
HEX#ab92bb
RGBrgb(171 146 187)
HSLhsl(276.59 23.16% 65.29%)
OKLCHoklch(0.7 0.07 312.07)
CMYKcmyk(8.56% 21.93% 0% 26.67%)
Android#ffab92bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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