Skip to content
Vectorlight.net

#ab4be9

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

HEX
#ab4be9
RGB
171, 75, 233
HSL
276.46°, 78.22%, 60.39%
OKLCH
0.61 0.23 308.93
Names
—
Lists

Codes

FormatValue
HEX#ab4be9
RGBrgb(171 75 233)
HSLhsl(276.46 78.22% 60.39%)
OKLCHoklch(0.61 0.23 308.93)
CMYKcmyk(26.61% 67.81% 0% 8.63%)
Android#ffab4be9

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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