Skip to content
Vectorlight.net

#c802d2

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

HEX
#c802d2
RGB
200, 2, 210
HSL
297.12°, 98.11%, 41.57%
OKLCH
0.59 0.27 325.73
Names
—
Lists

Codes

FormatValue
HEX#c802d2
RGBrgb(200 2 210)
HSLhsl(297.12 98.11% 41.57%)
OKLCHoklch(0.59 0.27 325.73)
CMYKcmyk(4.76% 99.05% 0% 17.65%)
Android#ffc802d2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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