Skip to content
Vectorlight.net

#ad2fe5

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

HEX
#ad2fe5
RGB
173, 47, 229
HSL
281.54°, 77.78%, 54.12%
OKLCH
0.58 0.26 312.32
Names
—
Lists

Codes

FormatValue
HEX#ad2fe5
RGBrgb(173 47 229)
HSLhsl(281.54 77.78% 54.12%)
OKLCHoklch(0.58 0.26 312.32)
CMYKcmyk(24.45% 79.48% 0% 10.2%)
Android#ffad2fe5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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