Skip to content
Vectorlight.net

#ab95bc

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

HEX
#ab95bc
RGB
171, 149, 188
HSL
273.85°, 22.54%, 66.08%
OKLCH
0.7 0.06 310.22
Names
—
Lists

Codes

FormatValue
HEX#ab95bc
RGBrgb(171 149 188)
HSLhsl(273.85 22.54% 66.08%)
OKLCHoklch(0.7 0.06 310.22)
CMYKcmyk(9.04% 20.74% 0% 26.27%)
Android#ffab95bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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