Skip to content
Vectorlight.net

#ab85ec

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

HEX
#ab85ec
RGB
171, 133, 236
HSL
262.14°, 73.05%, 72.35%
OKLCH
0.69 0.15 299.48
Names
—
Lists

Codes

FormatValue
HEX#ab85ec
RGBrgb(171 133 236)
HSLhsl(262.14 73.05% 72.35%)
OKLCHoklch(0.69 0.15 299.48)
CMYKcmyk(27.54% 43.64% 0% 7.45%)
Android#ffab85ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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