Skip to content
Vectorlight.net

#ab49cb

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

HEX
#ab49cb
RGB
171, 73, 203
HSL
285.23°, 55.56%, 54.12%
OKLCH
0.59 0.21 316.83
Names
—
Lists

Codes

FormatValue
HEX#ab49cb
RGBrgb(171 73 203)
HSLhsl(285.23 55.56% 54.12%)
OKLCHoklch(0.59 0.21 316.83)
CMYKcmyk(15.76% 64.04% 0% 20.39%)
Android#ffab49cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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