Skip to content
Vectorlight.net

#ab5bbb

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

HEX
#ab5bbb
RGB
171, 91, 187
HSL
290°, 41.38%, 54.51%
OKLCH
0.6 0.16 320.74
Names
—
Lists

Codes

FormatValue
HEX#ab5bbb
RGBrgb(171 91 187)
HSLhsl(290 41.38% 54.51%)
OKLCHoklch(0.6 0.16 320.74)
CMYKcmyk(8.56% 51.34% 0% 26.67%)
Android#ffab5bbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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