Skip to content
Vectorlight.net

#a64cd5

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

HEX
#a64cd5
RGB
166, 76, 213
HSL
279.42°, 61.99%, 56.67%
OKLCH
0.59 0.21 311.94
Names
—
Lists

Codes

FormatValue
HEX#a64cd5
RGBrgb(166 76 213)
HSLhsl(279.42 61.99% 56.67%)
OKLCHoklch(0.59 0.21 311.94)
CMYKcmyk(22.07% 64.32% 0% 16.47%)
Android#ffa64cd5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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