Skip to content
Vectorlight.net

#a20dcb

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

HEX
#a20dcb
RGB
162, 13, 203
HSL
287.05°, 87.96%, 42.35%
OKLCH
0.53 0.25 316.25
Names
—
Lists

Codes

FormatValue
HEX#a20dcb
RGBrgb(162 13 203)
HSLhsl(287.05 87.96% 42.35%)
OKLCHoklch(0.53 0.25 316.25)
CMYKcmyk(20.2% 93.6% 0% 20.39%)
Android#ffa20dcb

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="#a20dcb"
Gradient stop
<stop stop-color="#a20dcb"/>
CSS variable + fill
:root { --c: #a20dcb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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