Skip to content
Vectorlight.net

#ab1fe0

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

HEX
#ab1fe0
RGB
171, 31, 224
HSL
283.52°, 75.69%, 50%
OKLCH
0.57 0.26 313.48
Names
—
Lists

Codes

FormatValue
HEX#ab1fe0
RGBrgb(171 31 224)
HSLhsl(283.52 75.69% 50%)
OKLCHoklch(0.57 0.26 313.48)
CMYKcmyk(23.66% 86.16% 0% 12.16%)
Android#ffab1fe0

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.00:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ab1fe0"
Gradient stop
<stop stop-color="#ab1fe0"/>
CSS variable + fill
:root { --c: #ab1fe0; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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