Skip to content
Vectorlight.net

#a20ebe

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

HEX
#a20ebe
RGB
162, 14, 190
HSL
290.45°, 86.27%, 40%
OKLCH
0.52 0.24 319.75
Names
—
Lists

Codes

FormatValue
HEX#a20ebe
RGBrgb(162 14 190)
HSLhsl(290.45 86.27% 40%)
OKLCHoklch(0.52 0.24 319.75)
CMYKcmyk(14.74% 92.63% 0% 25.49%)
Android#ffa20ebe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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