Skip to content
Vectorlight.net

#c222dd

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

HEX
#c222dd
RGB
194, 34, 221
HSL
291.34°, 73.33%, 50%
OKLCH
0.6 0.27 321
Names
—
Lists

Codes

FormatValue
HEX#c222dd
RGBrgb(194 34 221)
HSLhsl(291.34 73.33% 50%)
OKLCHoklch(0.6 0.27 321)
CMYKcmyk(12.22% 84.62% 0% 13.33%)
Android#ffc222dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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