Skip to content
Vectorlight.net

#ab49bb

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

HEX
#ab49bb
RGB
171, 73, 187
HSL
291.58°, 45.6%, 50.98%
OKLCH
0.58 0.19 321.82
Names
—
Lists

Codes

FormatValue
HEX#ab49bb
RGBrgb(171 73 187)
HSLhsl(291.58 45.6% 50.98%)
OKLCHoklch(0.58 0.19 321.82)
CMYKcmyk(8.56% 60.96% 0% 26.67%)
Android#ffab49bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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