Skip to content
Vectorlight.net

#a02887

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

HEX
#a02887
RGB
160, 40, 135
HSL
312.5°, 60%, 39.22%
OKLCH
0.5 0.18 337.84
Names
—
Lists

Codes

FormatValue
HEX#a02887
RGBrgb(160 40 135)
HSLhsl(312.5 60% 39.22%)
OKLCHoklch(0.5 0.18 337.84)
CMYKcmyk(0% 75% 15.63% 37.25%)
Android#ffa02887

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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