Skip to content
Vectorlight.net

#c022cf

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

HEX
#c022cf
RGB
192, 34, 207
HSL
294.8°, 71.78%, 47.25%
OKLCH
0.59 0.26 324.02
Names
—
Lists

Codes

FormatValue
HEX#c022cf
RGBrgb(192 34 207)
HSLhsl(294.8 71.78% 47.25%)
OKLCHoklch(0.59 0.26 324.02)
CMYKcmyk(7.25% 83.57% 0% 18.82%)
Android#ffc022cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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