Skip to content
Vectorlight.net

#a646dc

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

HEX
#a646dc
RGB
166, 70, 220
HSL
278.4°, 68.18%, 56.86%
OKLCH
0.59 0.22 310.68
Names
—
Lists

Codes

FormatValue
HEX#a646dc
RGBrgb(166 70 220)
HSLhsl(278.4 68.18% 56.86%)
OKLCHoklch(0.59 0.22 310.68)
CMYKcmyk(24.55% 68.18% 0% 13.73%)
Android#ffa646dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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