Skip to content
Vectorlight.net

#ab3bec

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

HEX
#ab3bec
RGB
171, 59, 236
HSL
277.97°, 82.33%, 57.84%
OKLCH
0.6 0.25 309.43
Names
—
Lists

Codes

FormatValue
HEX#ab3bec
RGBrgb(171 59 236)
HSLhsl(277.97 82.33% 57.84%)
OKLCHoklch(0.6 0.25 309.43)
CMYKcmyk(27.54% 75% 0% 7.45%)
Android#ffab3bec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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