Skip to content
Vectorlight.net

#ab84ec

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

HEX
#ab84ec
RGB
171, 132, 236
HSL
262.5°, 73.24%, 72.16%
OKLCH
0.69 0.15 299.73
Names
—
Lists

Codes

FormatValue
HEX#ab84ec
RGBrgb(171 132 236)
HSLhsl(262.5 73.24% 72.16%)
OKLCHoklch(0.69 0.15 299.73)
CMYKcmyk(27.54% 44.07% 0% 7.45%)
Android#ffab84ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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