Skip to content
Vectorlight.net

#ab4ebe

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

HEX
#ab4ebe
RGB
171, 78, 190
HSL
289.82°, 46.28%, 52.55%
OKLCH
0.59 0.19 320.54
Names
—
Lists

Codes

FormatValue
HEX#ab4ebe
RGBrgb(171 78 190)
HSLhsl(289.82 46.28% 52.55%)
OKLCHoklch(0.59 0.19 320.54)
CMYKcmyk(10% 58.95% 0% 25.49%)
Android#ffab4ebe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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