Skip to content
Vectorlight.net

#a4217c

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

HEX
#a4217c
RGB
164, 33, 124
HSL
318.32°, 66.5%, 38.63%
OKLCH
0.5 0.19 343.73
Names
—
Lists

Codes

FormatValue
HEX#a4217c
RGBrgb(164 33 124)
HSLhsl(318.32 66.5% 38.63%)
OKLCHoklch(0.5 0.19 343.73)
CMYKcmyk(0% 79.88% 24.39% 35.69%)
Android#ffa4217c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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