Skip to content
Vectorlight.net

#a70478

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

HEX
#a70478
RGB
167, 4, 120
HSL
317.3°, 95.32%, 33.53%
OKLCH
0.49 0.2 345.49
Names
—
Lists

Codes

FormatValue
HEX#a70478
RGBrgb(167 4 120)
HSLhsl(317.3 95.32% 33.53%)
OKLCHoklch(0.49 0.2 345.49)
CMYKcmyk(0% 97.6% 28.14% 34.51%)
Android#ffa70478

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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