Skip to content
Vectorlight.net

#ab6aba

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

HEX
#ab6aba
RGB
171, 106, 186
HSL
288.75°, 36.7%, 57.25%
OKLCH
0.62 0.14 319.92
Names
—
Lists

Codes

FormatValue
HEX#ab6aba
RGBrgb(171 106 186)
HSLhsl(288.75 36.7% 57.25%)
OKLCHoklch(0.62 0.14 319.92)
CMYKcmyk(8.06% 43.01% 0% 27.06%)
Android#ffab6aba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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