Skip to content
Vectorlight.net

#ab6cb6

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

HEX
#ab6cb6
RGB
171, 108, 182
HSL
291.08°, 33.64%, 56.86%
OKLCH
0.63 0.13 321.47
Names
—
Lists

Codes

FormatValue
HEX#ab6cb6
RGBrgb(171 108 182)
HSLhsl(291.08 33.64% 56.86%)
OKLCHoklch(0.63 0.13 321.47)
CMYKcmyk(6.04% 40.66% 0% 28.63%)
Android#ffab6cb6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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