Skip to content
Vectorlight.net

#a64fea

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

HEX
#a64fea
RGB
166, 79, 234
HSL
273.68°, 78.68%, 61.37%
OKLCH
0.61 0.23 306.57
Names
—
Lists

Codes

FormatValue
HEX#a64fea
RGBrgb(166 79 234)
HSLhsl(273.68 78.68% 61.37%)
OKLCHoklch(0.61 0.23 306.57)
CMYKcmyk(29.06% 66.24% 0% 8.24%)
Android#ffa64fea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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