Skip to content
Vectorlight.net

#a641ea

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

HEX
#a641ea
RGB
166, 65, 234
HSL
275.86°, 80.09%, 58.63%
OKLCH
0.59 0.24 307.79
Names
—
Lists

Codes

FormatValue
HEX#a641ea
RGBrgb(166 65 234)
HSLhsl(275.86 80.09% 58.63%)
OKLCHoklch(0.59 0.24 307.79)
CMYKcmyk(29.06% 72.22% 0% 8.24%)
Android#ffa641ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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