Skip to content
Vectorlight.net

#ab76bb

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

HEX
#ab76bb
RGB
171, 118, 187
HSL
286.09°, 33.66%, 59.8%
OKLCH
0.64 0.12 318.16
Names
—
Lists

Codes

FormatValue
HEX#ab76bb
RGBrgb(171 118 187)
HSLhsl(286.09 33.66% 59.8%)
OKLCHoklch(0.64 0.12 318.16)
CMYKcmyk(8.56% 36.9% 0% 26.67%)
Android#ffab76bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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