Skip to content
Vectorlight.net

#ab87da

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

HEX
#ab87da
RGB
171, 135, 218
HSL
266.02°, 52.87%, 69.22%
OKLCH
0.69 0.12 303.26
Names
—
Lists

Codes

FormatValue
HEX#ab87da
RGBrgb(171 135 218)
HSLhsl(266.02 52.87% 69.22%)
OKLCHoklch(0.69 0.12 303.26)
CMYKcmyk(21.56% 38.07% 0% 14.51%)
Android#ffab87da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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