Skip to content
Vectorlight.net

#ab5fbd

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

HEX
#ab5fbd
RGB
171, 95, 189
HSL
288.51°, 41.59%, 55.69%
OKLCH
0.61 0.16 319.7
Names
—
Lists

Codes

FormatValue
HEX#ab5fbd
RGBrgb(171 95 189)
HSLhsl(288.51 41.59% 55.69%)
OKLCHoklch(0.61 0.16 319.7)
CMYKcmyk(9.52% 49.74% 0% 25.88%)
Android#ffab5fbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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