Skip to content
Vectorlight.net

#ab47da

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

HEX
#ab47da
RGB
171, 71, 218
HSL
280.82°, 66.52%, 56.67%
OKLCH
0.59 0.22 312.89
Names
—
Lists

Codes

FormatValue
HEX#ab47da
RGBrgb(171 71 218)
HSLhsl(280.82 66.52% 56.67%)
OKLCHoklch(0.59 0.22 312.89)
CMYKcmyk(21.56% 67.43% 0% 14.51%)
Android#ffab47da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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