Skip to content
Vectorlight.net

#ad5bec

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

HEX
#ad5bec
RGB
173, 91, 236
HSL
273.93°, 79.23%, 64.12%
OKLCH
0.63 0.21 307.39
Names
—
Lists

Codes

FormatValue
HEX#ad5bec
RGBrgb(173 91 236)
HSLhsl(273.93 79.23% 64.12%)
OKLCHoklch(0.63 0.21 307.39)
CMYKcmyk(26.69% 61.44% 0% 7.45%)
Android#ffad5bec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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