Skip to content
Vectorlight.net

#ab3fea

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

HEX
#ab3fea
RGB
171, 63, 234
HSL
277.89°, 80.28%, 58.24%
OKLCH
0.6 0.25 309.62
Names
—
Lists

Codes

FormatValue
HEX#ab3fea
RGBrgb(171 63 234)
HSLhsl(277.89 80.28% 58.24%)
OKLCHoklch(0.6 0.25 309.62)
CMYKcmyk(26.92% 73.08% 0% 8.24%)
Android#ffab3fea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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