Skip to content
Vectorlight.net

#a22dad

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

HEX
#a22dad
RGB
162, 45, 173
HSL
294.84°, 58.72%, 42.75%
OKLCH
0.53 0.21 324.19
Names
—
Lists

Codes

FormatValue
HEX#a22dad
RGBrgb(162 45 173)
HSLhsl(294.84 58.72% 42.75%)
OKLCHoklch(0.53 0.21 324.19)
CMYKcmyk(6.36% 73.99% 0% 32.16%)
Android#ffa22dad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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