Skip to content
Vectorlight.net

#a22bae

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

HEX
#a22bae
RGB
162, 43, 174
HSL
294.5°, 60.37%, 42.55%
OKLCH
0.53 0.21 323.92
Names
—
Lists

Codes

FormatValue
HEX#a22bae
RGBrgb(162 43 174)
HSLhsl(294.5 60.37% 42.55%)
OKLCHoklch(0.53 0.21 323.92)
CMYKcmyk(6.9% 75.29% 0% 31.76%)
Android#ffa22bae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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