Skip to content
Vectorlight.net

#a704ad

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

HEX
#a704ad
RGB
167, 4, 173
HSL
297.87°, 95.48%, 34.71%
OKLCH
0.52 0.24 326.47
Names
—
Lists

Codes

FormatValue
HEX#a704ad
RGBrgb(167 4 173)
HSLhsl(297.87 95.48% 34.71%)
OKLCHoklch(0.52 0.24 326.47)
CMYKcmyk(3.47% 97.69% 0% 32.16%)
Android#ffa704ad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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