Skip to content
Vectorlight.net

#ab508e

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

HEX
#ab508e
RGB
171, 80, 142
HSL
319.12°, 36.25%, 49.22%
OKLCH
0.57 0.14 341.18
Names
—
Lists

Codes

FormatValue
HEX#ab508e
RGBrgb(171 80 142)
HSLhsl(319.12 36.25% 49.22%)
OKLCHoklch(0.57 0.14 341.18)
CMYKcmyk(0% 53.22% 16.96% 32.94%)
Android#ffab508e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.91: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="#ab508e"
Gradient stop
<stop stop-color="#ab508e"/>
CSS variable + fill
:root { --c: #ab508e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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