Skip to content
Vectorlight.net

#ab00ce

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

HEX
#ab00ce
RGB
171, 0, 206
HSL
289.81°, 100%, 40.39%
OKLCH
0.54 0.26 318.47
Names
—
Lists

Codes

FormatValue
HEX#ab00ce
RGBrgb(171 0 206)
HSLhsl(289.81 100% 40.39%)
OKLCHoklch(0.54 0.26 318.47)
CMYKcmyk(16.99% 100% 0% 19.22%)
Android#ffab00ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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