Skip to content
Vectorlight.net

#ab89cc

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

HEX
#ab89cc
RGB
171, 137, 204
HSL
270.45°, 39.64%, 66.86%
OKLCH
0.69 0.1 307.1
Names
—
Lists

Codes

FormatValue
HEX#ab89cc
RGBrgb(171 137 204)
HSLhsl(270.45 39.64% 66.86%)
OKLCHoklch(0.69 0.1 307.1)
CMYKcmyk(16.18% 32.84% 0% 20%)
Android#ffab89cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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