Skip to content
Vectorlight.net

#ab54ce

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

HEX
#ab54ce
RGB
171, 84, 206
HSL
282.79°, 55.45%, 56.86%
OKLCH
0.6 0.19 315.1
Names
—
Lists

Codes

FormatValue
HEX#ab54ce
RGBrgb(171 84 206)
HSLhsl(282.79 55.45% 56.86%)
OKLCHoklch(0.6 0.19 315.1)
CMYKcmyk(16.99% 59.22% 0% 19.22%)
Android#ffab54ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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