Skip to content
Vectorlight.net

#ab4fdb

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

HEX
#ab4fdb
RGB
171, 79, 219
HSL
279.43°, 66.04%, 58.43%
OKLCH
0.6 0.21 311.98
Names
—
Lists

Codes

FormatValue
HEX#ab4fdb
RGBrgb(171 79 219)
HSLhsl(279.43 66.04% 58.43%)
OKLCHoklch(0.6 0.21 311.98)
CMYKcmyk(21.92% 63.93% 0% 14.12%)
Android#ffab4fdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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