Skip to content
Vectorlight.net

#c020cc

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

HEX
#c020cc
RGB
192, 32, 204
HSL
295.81°, 72.88%, 46.27%
OKLCH
0.58 0.26 324.86
Names
—
Lists

Codes

FormatValue
HEX#c020cc
RGBrgb(192 32 204)
HSLhsl(295.81 72.88% 46.27%)
OKLCHoklch(0.58 0.26 324.86)
CMYKcmyk(5.88% 84.31% 0% 20%)
Android#ffc020cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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