Skip to content
Vectorlight.net

#a64cd7

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

HEX
#a64cd7
RGB
166, 76, 215
HSL
278.85°, 63.47%, 57.06%
OKLCH
0.59 0.21 311.42
Names
—
Lists

Codes

FormatValue
HEX#a64cd7
RGBrgb(166 76 215)
HSLhsl(278.85 63.47% 57.06%)
OKLCHoklch(0.59 0.21 311.42)
CMYKcmyk(22.79% 64.65% 0% 15.69%)
Android#ffa64cd7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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