Skip to content
Vectorlight.net

#a229de

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

HEX
#a229de
RGB
162, 41, 222
HSL
280.11°, 73.28%, 51.57%
OKLCH
0.56 0.25 310.68
Names
—
Lists

Codes

FormatValue
HEX#a229de
RGBrgb(162 41 222)
HSLhsl(280.11 73.28% 51.57%)
OKLCHoklch(0.56 0.25 310.68)
CMYKcmyk(27.03% 81.53% 0% 12.94%)
Android#ffa229de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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