Skip to content
Vectorlight.net

#ab56df

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

HEX
#ab56df
RGB
171, 86, 223
HSL
277.23°, 68.16%, 60.59%
OKLCH
0.62 0.21 310.29
Names
—
Lists

Codes

FormatValue
HEX#ab56df
RGBrgb(171 86 223)
HSLhsl(277.23 68.16% 60.59%)
OKLCHoklch(0.62 0.21 310.29)
CMYKcmyk(23.32% 61.43% 0% 12.55%)
Android#ffab56df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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