Skip to content
Vectorlight.net

#ab47ea

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

HEX
#ab47ea
RGB
171, 71, 234
HSL
276.81°, 79.51%, 59.8%
OKLCH
0.61 0.24 309.03
Names
—
Lists

Codes

FormatValue
HEX#ab47ea
RGBrgb(171 71 234)
HSLhsl(276.81 79.51% 59.8%)
OKLCHoklch(0.61 0.24 309.03)
CMYKcmyk(26.92% 69.66% 0% 8.24%)
Android#ffab47ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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