Skip to content
Vectorlight.net

#a204af

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

HEX
#a204af
RGB
162, 4, 175
HSL
295.44°, 95.53%, 35.1%
OKLCH
0.51 0.24 324.24
Names
—
Lists

Codes

FormatValue
HEX#a204af
RGBrgb(162 4 175)
HSLhsl(295.44 95.53% 35.1%)
OKLCHoklch(0.51 0.24 324.24)
CMYKcmyk(7.43% 97.71% 0% 31.37%)
Android#ffa204af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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