Skip to content
Vectorlight.net

#ad2fe4

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

HEX
#ad2fe4
RGB
173, 47, 228
HSL
281.77°, 77.02%, 53.92%
OKLCH
0.58 0.26 312.56
Names
—
Lists

Codes

FormatValue
HEX#ad2fe4
RGBrgb(173 47 228)
HSLhsl(281.77 77.02% 53.92%)
OKLCHoklch(0.58 0.26 312.56)
CMYKcmyk(24.12% 79.39% 0% 10.59%)
Android#ffad2fe4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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