Skip to content
Vectorlight.net

#ab508d

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

HEX
#ab508d
RGB
171, 80, 141
HSL
319.78°, 36.25%, 49.22%
OKLCH
0.56 0.14 341.73
Names
—
Lists

Codes

FormatValue
HEX#ab508d
RGBrgb(171 80 141)
HSLhsl(319.78 36.25% 49.22%)
OKLCHoklch(0.56 0.14 341.73)
CMYKcmyk(0% 53.22% 17.54% 32.94%)
Android#ffab508d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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