Skip to content
Vectorlight.net

#a22ced

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

HEX
#a22ced
RGB
162, 44, 237
HSL
276.68°, 84.28%, 55.1%
OKLCH
0.57 0.26 307.14
Names
—
Lists

Codes

FormatValue
HEX#a22ced
RGBrgb(162 44 237)
HSLhsl(276.68 84.28% 55.1%)
OKLCHoklch(0.57 0.26 307.14)
CMYKcmyk(31.65% 81.43% 0% 7.06%)
Android#ffa22ced

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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