Skip to content
Vectorlight.net

#ad31eb

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

HEX
#ad31eb
RGB
173, 49, 235
HSL
280°, 82.3%, 55.69%
OKLCH
0.59 0.26 310.86
Names
—
Lists

Codes

FormatValue
HEX#ad31eb
RGBrgb(173 49 235)
HSLhsl(280 82.3% 55.69%)
OKLCHoklch(0.59 0.26 310.86)
CMYKcmyk(26.38% 79.15% 0% 7.84%)
Android#ffad31eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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