Skip to content
Vectorlight.net

#ab95bb

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

HEX
#ab95bb
RGB
171, 149, 187
HSL
274.74°, 21.84%, 65.88%
OKLCH
0.7 0.06 310.86
Names
—
Lists

Codes

FormatValue
HEX#ab95bb
RGBrgb(171 149 187)
HSLhsl(274.74 21.84% 65.88%)
OKLCHoklch(0.7 0.06 310.86)
CMYKcmyk(8.56% 20.32% 0% 26.67%)
Android#ffab95bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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