Skip to content
Vectorlight.net

#ab7cee

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

HEX
#ab7cee
RGB
171, 124, 238
HSL
264.74°, 77.03%, 70.98%
OKLCH
0.68 0.17 301.11
Names
—
Lists

Codes

FormatValue
HEX#ab7cee
RGBrgb(171 124 238)
HSLhsl(264.74 77.03% 70.98%)
OKLCHoklch(0.68 0.17 301.11)
CMYKcmyk(28.15% 47.9% 0% 6.67%)
Android#ffab7cee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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