Skip to content
Vectorlight.net

#a21bc0

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

HEX
#a21bc0
RGB
162, 27, 192
HSL
289.09°, 75.34%, 42.94%
OKLCH
0.53 0.24 318.93
Names
—
Lists

Codes

FormatValue
HEX#a21bc0
RGBrgb(162 27 192)
HSLhsl(289.09 75.34% 42.94%)
OKLCHoklch(0.53 0.24 318.93)
CMYKcmyk(15.63% 85.94% 0% 24.71%)
Android#ffa21bc0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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