Skip to content
Vectorlight.net

#ad70eb

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

HEX
#ad70eb
RGB
173, 112, 235
HSL
269.76°, 75.46%, 68.04%
OKLCH
0.66 0.18 304.82
Names
—
Lists

Codes

FormatValue
HEX#ad70eb
RGBrgb(173 112 235)
HSLhsl(269.76 75.46% 68.04%)
OKLCHoklch(0.66 0.18 304.82)
CMYKcmyk(26.38% 52.34% 0% 7.84%)
Android#ffad70eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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