Skip to content
Vectorlight.net

#ab8cbf

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

HEX
#ab8cbf
RGB
171, 140, 191
HSL
276.47°, 28.49%, 64.9%
OKLCH
0.69 0.08 311.81
Names
—
Lists

Codes

FormatValue
HEX#ab8cbf
RGBrgb(171 140 191)
HSLhsl(276.47 28.49% 64.9%)
OKLCHoklch(0.69 0.08 311.81)
CMYKcmyk(10.47% 26.7% 0% 25.1%)
Android#ffab8cbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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