Skip to content
Vectorlight.net

#ab4ddd

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

HEX
#ab4ddd
RGB
171, 77, 221
HSL
279.17°, 67.92%, 58.43%
OKLCH
0.6 0.22 311.64
Names
—
Lists

Codes

FormatValue
HEX#ab4ddd
RGBrgb(171 77 221)
HSLhsl(279.17 67.92% 58.43%)
OKLCHoklch(0.6 0.22 311.64)
CMYKcmyk(22.62% 65.16% 0% 13.33%)
Android#ffab4ddd

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

Recolor an SVG with this color

CSS

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