Skip to content
Vectorlight.net

#ab87ed

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

HEX
#ab87ed
RGB
171, 135, 237
HSL
261.18°, 73.91%, 72.94%
OKLCH
0.7 0.15 298.77
Names
—
Lists

Codes

FormatValue
HEX#ab87ed
RGBrgb(171 135 237)
HSLhsl(261.18 73.91% 72.94%)
OKLCHoklch(0.7 0.15 298.77)
CMYKcmyk(27.85% 43.04% 0% 7.06%)
Android#ffab87ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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