Skip to content
Vectorlight.net

#ab33bc

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

HEX
#ab33bc
RGB
171, 51, 188
HSL
292.55°, 57.32%, 46.86%
OKLCH
0.56 0.22 322.42
Names
—
Lists

Codes

FormatValue
HEX#ab33bc
RGBrgb(171 51 188)
HSLhsl(292.55 57.32% 46.86%)
OKLCHoklch(0.56 0.22 322.42)
CMYKcmyk(9.04% 72.87% 0% 26.27%)
Android#ffab33bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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