Skip to content
Vectorlight.net

#a652de

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

HEX
#a652de
RGB
166, 82, 222
HSL
276°, 67.96%, 59.61%
OKLCH
0.6 0.21 309.07
Names
—
Lists

Codes

FormatValue
HEX#a652de
RGBrgb(166 82 222)
HSLhsl(276 67.96% 59.61%)
OKLCHoklch(0.6 0.21 309.07)
CMYKcmyk(25.23% 63.06% 0% 12.94%)
Android#ffa652de

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.30:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.88:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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