Skip to content
Vectorlight.net

#a602c8

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

HEX
#a602c8
RGB
166, 2, 200
HSL
289.7°, 98.02%, 39.61%
OKLCH
0.53 0.26 318.46
Names
—
Lists

Codes

FormatValue
HEX#a602c8
RGBrgb(166 2 200)
HSLhsl(289.7 98.02% 39.61%)
OKLCHoklch(0.53 0.26 318.46)
CMYKcmyk(17% 99% 0% 21.57%)
Android#ffa602c8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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