Skip to content
Vectorlight.net

#a22ceb

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

HEX
#a22ceb
RGB
162, 44, 235
HSL
277.07°, 82.68%, 54.71%
OKLCH
0.57 0.26 307.58
Names
—
Lists

Codes

FormatValue
HEX#a22ceb
RGBrgb(162 44 235)
HSLhsl(277.07 82.68% 54.71%)
OKLCHoklch(0.57 0.26 307.58)
CMYKcmyk(31.06% 81.28% 0% 7.84%)
Android#ffa22ceb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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