Skip to content
Vectorlight.net

#ab76df

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

HEX
#ab76df
RGB
171, 118, 223
HSL
270.29°, 62.13%, 66.86%
OKLCH
0.66 0.16 305.82
Names
—
Lists

Codes

FormatValue
HEX#ab76df
RGBrgb(171 118 223)
HSLhsl(270.29 62.13% 66.86%)
OKLCHoklch(0.66 0.16 305.82)
CMYKcmyk(23.32% 47.09% 0% 12.55%)
Android#ffab76df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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