Skip to content
Vectorlight.net

#a229db

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

HEX
#a229db
RGB
162, 41, 219
HSL
280.79°, 71.2%, 50.98%
OKLCH
0.56 0.25 311.39
Names
—
Lists

Codes

FormatValue
HEX#a229db
RGBrgb(162 41 219)
HSLhsl(280.79 71.2% 50.98%)
OKLCHoklch(0.56 0.25 311.39)
CMYKcmyk(26.03% 81.28% 0% 14.12%)
Android#ffa229db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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