Skip to content
Vectorlight.net

#ab10ab

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

HEX
#ab10ab
RGB
171, 16, 171
HSL
300°, 82.89%, 36.67%
OKLCH
0.52 0.23 328.29
Names
—
Lists

Codes

FormatValue
HEX#ab10ab
RGBrgb(171 16 171)
HSLhsl(300 82.89% 36.67%)
OKLCHoklch(0.52 0.23 328.29)
CMYKcmyk(0% 90.64% 0% 32.94%)
Android#ffab10ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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