Skip to content
Vectorlight.net

#a22cbc

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

HEX
#a22cbc
RGB
162, 44, 188
HSL
289.17°, 62.07%, 45.49%
OKLCH
0.54 0.22 319.53
Names
—
Lists

Codes

FormatValue
HEX#a22cbc
RGBrgb(162 44 188)
HSLhsl(289.17 62.07% 45.49%)
OKLCHoklch(0.54 0.22 319.53)
CMYKcmyk(13.83% 76.6% 0% 26.27%)
Android#ffa22cbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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