Skip to content
Vectorlight.net

#ab3fc2

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

HEX
#ab3fc2
RGB
171, 63, 194
HSL
289.47°, 51.78%, 50.39%
OKLCH
0.57 0.21 320.1
Names
—
Lists

Codes

FormatValue
HEX#ab3fc2
RGBrgb(171 63 194)
HSLhsl(289.47 51.78% 50.39%)
OKLCHoklch(0.57 0.21 320.1)
CMYKcmyk(11.86% 67.53% 0% 23.92%)
Android#ffab3fc2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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