Skip to content
Vectorlight.net

#a22edb

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

HEX
#a22edb
RGB
162, 46, 219
HSL
280.23°, 70.61%, 51.96%
OKLCH
0.56 0.25 311.14
Names
—
Lists

Codes

FormatValue
HEX#a22edb
RGBrgb(162 46 219)
HSLhsl(280.23 70.61% 51.96%)
OKLCHoklch(0.56 0.25 311.14)
CMYKcmyk(26.03% 79% 0% 14.12%)
Android#ffa22edb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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