Skip to content
Vectorlight.net

#a400cc

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

HEX
#a400cc
RGB
164, 0, 204
HSL
288.24°, 100%, 40%
OKLCH
0.53 0.26 316.81
Names
—
Lists

Codes

FormatValue
HEX#a400cc
RGBrgb(164 0 204)
HSLhsl(288.24 100% 40%)
OKLCHoklch(0.53 0.26 316.81)
CMYKcmyk(19.61% 100% 0% 20%)
Android#ffa400cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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