Skip to content
Vectorlight.net

#a72cdc

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

HEX
#a72cdc
RGB
167, 44, 220
HSL
281.93°, 71.54%, 51.76%
OKLCH
0.57 0.25 312.66
Names
—
Lists

Codes

FormatValue
HEX#a72cdc
RGBrgb(167 44 220)
HSLhsl(281.93 71.54% 51.76%)
OKLCHoklch(0.57 0.25 312.66)
CMYKcmyk(24.09% 80% 0% 13.73%)
Android#ffa72cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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