Skip to content
Vectorlight.net

#a30cd4

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

HEX
#a30cd4
RGB
163, 12, 212
HSL
285.3°, 89.29%, 43.92%
OKLCH
0.54 0.26 314.3
Names
—
Lists

Codes

FormatValue
HEX#a30cd4
RGBrgb(163 12 212)
HSLhsl(285.3 89.29% 43.92%)
OKLCHoklch(0.54 0.26 314.3)
CMYKcmyk(23.11% 94.34% 0% 16.86%)
Android#ffa30cd4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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