Skip to content
Vectorlight.net

#ab3cec

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

HEX
#ab3cec
RGB
171, 60, 236
HSL
277.84°, 82.24%, 58.04%
OKLCH
0.6 0.25 309.37
Names
—
Lists

Codes

FormatValue
HEX#ab3cec
RGBrgb(171 60 236)
HSLhsl(277.84 82.24% 58.04%)
OKLCHoklch(0.6 0.25 309.37)
CMYKcmyk(27.54% 74.58% 0% 7.45%)
Android#ffab3cec

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.58:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#ab3cec"
Gradient stop
<stop stop-color="#ab3cec"/>
CSS variable + fill
:root { --c: #ab3cec; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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