Skip to content
Vectorlight.net

#ab3ecd

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

HEX
#ab3ecd
RGB
171, 62, 205
HSL
285.73°, 58.85%, 52.35%
OKLCH
0.58 0.22 316.96
Names
—
Lists

Codes

FormatValue
HEX#ab3ecd
RGBrgb(171 62 205)
HSLhsl(285.73 58.85% 52.35%)
OKLCHoklch(0.58 0.22 316.96)
CMYKcmyk(16.59% 69.76% 0% 19.61%)
Android#ffab3ecd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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