Skip to content
Vectorlight.net

#a012d0

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

HEX
#a012d0
RGB
160, 18, 208
HSL
284.84°, 84.07%, 44.31%
OKLCH
0.53 0.26 314.22
Names
—
Lists

Codes

FormatValue
HEX#a012d0
RGBrgb(160 18 208)
HSLhsl(284.84 84.07% 44.31%)
OKLCHoklch(0.53 0.26 314.22)
CMYKcmyk(23.08% 91.35% 0% 18.43%)
Android#ffa012d0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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