Skip to content
Vectorlight.net

#ab6ce0

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

HEX
#ab6ce0
RGB
171, 108, 224
HSL
272.59°, 65.17%, 65.1%
OKLCH
0.65 0.18 307.27
Names
—
Lists

Codes

FormatValue
HEX#ab6ce0
RGBrgb(171 108 224)
HSLhsl(272.59 65.17% 65.1%)
OKLCHoklch(0.65 0.18 307.27)
CMYKcmyk(23.66% 51.79% 0% 12.16%)
Android#ffab6ce0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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