Skip to content
Vectorlight.net

#ab76ef

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

HEX
#ab76ef
RGB
171, 118, 239
HSL
266.28°, 79.08%, 70%
OKLCH
0.67 0.18 302.06
Names
—
Lists

Codes

FormatValue
HEX#ab76ef
RGBrgb(171 118 239)
HSLhsl(266.28 79.08% 70%)
OKLCHoklch(0.67 0.18 302.06)
CMYKcmyk(28.45% 50.63% 0% 6.27%)
Android#ffab76ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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