Skip to content
Vectorlight.net

#a641c9

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

HEX
#a641c9
RGB
166, 65, 201
HSL
284.56°, 55.74%, 52.16%
OKLCH
0.57 0.21 316.1
Names
—
Lists

Codes

FormatValue
HEX#a641c9
RGBrgb(166 65 201)
HSLhsl(284.56 55.74% 52.16%)
OKLCHoklch(0.57 0.21 316.1)
CMYKcmyk(17.41% 67.66% 0% 21.18%)
Android#ffa641c9

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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