Skip to content
Vectorlight.net

#a22baf

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

HEX
#a22baf
RGB
162, 43, 175
HSL
294.09°, 60.55%, 42.75%
OKLCH
0.53 0.21 323.6
Names
—
Lists

Codes

FormatValue
HEX#a22baf
RGBrgb(162 43 175)
HSLhsl(294.09 60.55% 42.75%)
OKLCHoklch(0.53 0.21 323.6)
CMYKcmyk(7.43% 75.43% 0% 31.37%)
Android#ffa22baf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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