Skip to content
Vectorlight.net

#ab41b6

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

HEX
#ab41b6
RGB
171, 65, 182
HSL
294.36°, 47.37%, 48.43%
OKLCH
0.57 0.2 323.84
Names
—
Lists

Codes

FormatValue
HEX#ab41b6
RGBrgb(171 65 182)
HSLhsl(294.36 47.37% 48.43%)
OKLCHoklch(0.57 0.2 323.84)
CMYKcmyk(6.04% 64.29% 0% 28.63%)
Android#ffab41b6

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.04:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.16:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ab41b6"
Gradient stop
<stop stop-color="#ab41b6"/>
CSS variable + fill
:root { --c: #ab41b6; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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