Skip to content
Vectorlight.net

#ab4dbe

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

HEX
#ab4dbe
RGB
171, 77, 190
HSL
289.91°, 46.5%, 52.35%
OKLCH
0.58 0.19 320.6
Names
—
Lists

Codes

FormatValue
HEX#ab4dbe
RGBrgb(171 77 190)
HSLhsl(289.91 46.5% 52.35%)
OKLCHoklch(0.58 0.19 320.6)
CMYKcmyk(10% 59.47% 0% 25.49%)
Android#ffab4dbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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