Skip to content
Vectorlight.net

#a420cb

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

HEX
#a420cb
RGB
164, 32, 203
HSL
286.32°, 72.77%, 46.08%
OKLCH
0.54 0.25 316.45
Names
—
Lists

Codes

FormatValue
HEX#a420cb
RGBrgb(164 32 203)
HSLhsl(286.32 72.77% 46.08%)
OKLCHoklch(0.54 0.25 316.45)
CMYKcmyk(19.21% 84.24% 0% 20.39%)
Android#ffa420cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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