Skip to content
Vectorlight.net

#a643c0

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

HEX
#a643c0
RGB
166, 67, 192
HSL
287.52°, 49.8%, 50.78%
OKLCH
0.57 0.2 318.64
Names
—
Lists

Codes

FormatValue
HEX#a643c0
RGBrgb(166 67 192)
HSLhsl(287.52 49.8% 50.78%)
OKLCHoklch(0.57 0.2 318.64)
CMYKcmyk(13.54% 65.1% 0% 24.71%)
Android#ffa643c0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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