Skip to content
Vectorlight.net

#ab5abc

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

HEX
#ab5abc
RGB
171, 90, 188
HSL
289.59°, 42.24%, 54.51%
OKLCH
0.6 0.16 320.45
Names
—
Lists

Codes

FormatValue
HEX#ab5abc
RGBrgb(171 90 188)
HSLhsl(289.59 42.24% 54.51%)
OKLCHoklch(0.6 0.16 320.45)
CMYKcmyk(9.04% 52.13% 0% 26.27%)
Android#ffab5abc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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