Skip to content
Vectorlight.net

#c802aa

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

HEX
#c802aa
RGB
200, 2, 170
HSL
309.09°, 98.02%, 39.61%
OKLCH
0.57 0.25 337.02
Names
—
Lists

Codes

FormatValue
HEX#c802aa
RGBrgb(200 2 170)
HSLhsl(309.09 98.02% 39.61%)
OKLCHoklch(0.57 0.25 337.02)
CMYKcmyk(0% 99% 15% 21.57%)
Android#ffc802aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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