Skip to content
Vectorlight.net

#ab50bb

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

HEX
#ab50bb
RGB
171, 80, 187
HSL
291.03°, 44.03%, 52.35%
OKLCH
0.59 0.18 321.44
Names
—
Lists

Codes

FormatValue
HEX#ab50bb
RGBrgb(171 80 187)
HSLhsl(291.03 44.03% 52.35%)
OKLCHoklch(0.59 0.18 321.44)
CMYKcmyk(8.56% 57.22% 0% 26.67%)
Android#ffab50bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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