Skip to content
Vectorlight.net

#a62dd2

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

HEX
#a62dd2
RGB
166, 45, 210
HSL
284°, 64.71%, 50%
OKLCH
0.56 0.24 314.79
Names
—
Lists

Codes

FormatValue
HEX#a62dd2
RGBrgb(166 45 210)
HSLhsl(284 64.71% 50%)
OKLCHoklch(0.56 0.24 314.79)
CMYKcmyk(20.95% 78.57% 0% 17.65%)
Android#ffa62dd2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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