Skip to content
Vectorlight.net

#a216bd

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

HEX
#a216bd
RGB
162, 22, 189
HSL
290.3°, 79.15%, 41.37%
OKLCH
0.52 0.24 319.9
Names
—
Lists

Codes

FormatValue
HEX#a216bd
RGBrgb(162 22 189)
HSLhsl(290.3 79.15% 41.37%)
OKLCHoklch(0.52 0.24 319.9)
CMYKcmyk(14.29% 88.36% 0% 25.88%)
Android#ffa216bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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