Skip to content
Vectorlight.net

#ab47de

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

HEX
#ab47de
RGB
171, 71, 222
HSL
279.74°, 69.59%, 57.45%
OKLCH
0.6 0.23 311.88
Names
—
Lists

Codes

FormatValue
HEX#ab47de
RGBrgb(171 71 222)
HSLhsl(279.74 69.59% 57.45%)
OKLCHoklch(0.6 0.23 311.88)
CMYKcmyk(22.97% 68.02% 0% 12.94%)
Android#ffab47de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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