Skip to content
Vectorlight.net

#ab33dd

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

HEX
#ab33dd
RGB
171, 51, 221
HSL
282.35°, 71.43%, 53.33%
OKLCH
0.58 0.25 313.39
Names
—
Lists

Codes

FormatValue
HEX#ab33dd
RGBrgb(171 51 221)
HSLhsl(282.35 71.43% 53.33%)
OKLCHoklch(0.58 0.25 313.39)
CMYKcmyk(22.62% 76.92% 0% 13.33%)
Android#ffab33dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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