Skip to content
Vectorlight.net

#a01fc4

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

HEX
#a01fc4
RGB
160, 31, 196
HSL
286.91°, 72.69%, 44.51%
OKLCH
0.53 0.24 317.03
Names
—
Lists

Codes

FormatValue
HEX#a01fc4
RGBrgb(160 31 196)
HSLhsl(286.91 72.69% 44.51%)
OKLCHoklch(0.53 0.24 317.03)
CMYKcmyk(18.37% 84.18% 0% 23.14%)
Android#ffa01fc4

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="#a01fc4"
Gradient stop
<stop stop-color="#a01fc4"/>
CSS variable + fill
:root { --c: #a01fc4; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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