Skip to content
Vectorlight.net

#ab6cab

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

HEX
#ab6cab
RGB
171, 108, 171
HSL
300°, 27.27%, 54.71%
OKLCH
0.62 0.12 326.87
Names
—
Lists

Codes

FormatValue
HEX#ab6cab
RGBrgb(171 108 171)
HSLhsl(300 27.27% 54.71%)
OKLCHoklch(0.62 0.12 326.87)
CMYKcmyk(0% 36.84% 0% 32.94%)
Android#ffab6cab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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