Skip to content
Vectorlight.net

#ab60b2

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

HEX
#ab60b2
RGB
171, 96, 178
HSL
294.88°, 34.75%, 53.73%
OKLCH
0.6 0.14 324
Names
—
Lists

Codes

FormatValue
HEX#ab60b2
RGBrgb(171 96 178)
HSLhsl(294.88 34.75% 53.73%)
OKLCHoklch(0.6 0.14 324)
CMYKcmyk(3.93% 46.07% 0% 30.2%)
Android#ffab60b2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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