Skip to content
Vectorlight.net

#a401cf

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

HEX
#a401cf
RGB
164, 1, 207
HSL
287.48°, 99.04%, 40.78%
OKLCH
0.53 0.26 316.02
Names
—
Lists

Codes

FormatValue
HEX#a401cf
RGBrgb(164 1 207)
HSLhsl(287.48 99.04% 40.78%)
OKLCHoklch(0.53 0.26 316.02)
CMYKcmyk(20.77% 99.52% 0% 18.82%)
Android#ffa401cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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