Skip to content
Vectorlight.net

#ad52eb

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

HEX
#ad52eb
RGB
173, 82, 235
HSL
275.69°, 79.27%, 62.16%
OKLCH
0.62 0.23 308.54
Names
—
Lists

Codes

FormatValue
HEX#ad52eb
RGBrgb(173 82 235)
HSLhsl(275.69 79.27% 62.16%)
OKLCHoklch(0.62 0.23 308.54)
CMYKcmyk(26.38% 65.11% 0% 7.84%)
Android#ffad52eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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