Skip to content
Vectorlight.net

#ab3dea

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

HEX
#ab3dea
RGB
171, 61, 234
HSL
278.15°, 80.47%, 57.84%
OKLCH
0.6 0.25 309.75
Names
—
Lists

Codes

FormatValue
HEX#ab3dea
RGBrgb(171 61 234)
HSLhsl(278.15 80.47% 57.84%)
OKLCHoklch(0.6 0.25 309.75)
CMYKcmyk(26.92% 73.93% 0% 8.24%)
Android#ffab3dea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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