Skip to content
Vectorlight.net

#ab4cdf

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

HEX
#ab4cdf
RGB
171, 76, 223
HSL
278.78°, 69.67%, 58.63%
OKLCH
0.6 0.22 311.23
Names
—
Lists

Codes

FormatValue
HEX#ab4cdf
RGBrgb(171 76 223)
HSLhsl(278.78 69.67% 58.63%)
OKLCHoklch(0.6 0.22 311.23)
CMYKcmyk(23.32% 65.92% 0% 12.55%)
Android#ffab4cdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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