Skip to content
Vectorlight.net

#ab76ed

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

HEX
#ab76ed
RGB
171, 118, 237
HSL
266.72°, 76.77%, 69.61%
OKLCH
0.67 0.18 302.5
Names
—
Lists

Codes

FormatValue
HEX#ab76ed
RGBrgb(171 118 237)
HSLhsl(266.72 76.77% 69.61%)
OKLCHoklch(0.67 0.18 302.5)
CMYKcmyk(27.85% 50.21% 0% 7.06%)
Android#ffab76ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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