Skip to content
Vectorlight.net

#c22dda

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

HEX
#c22dda
RGB
194, 45, 218
HSL
291.68°, 70.04%, 51.57%
OKLCH
0.6 0.26 321.51
Names
—
Lists

Codes

FormatValue
HEX#c22dda
RGBrgb(194 45 218)
HSLhsl(291.68 70.04% 51.57%)
OKLCHoklch(0.6 0.26 321.51)
CMYKcmyk(11.01% 79.36% 0% 14.51%)
Android#ffc22dda

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.48:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.68:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#c22dda"
Gradient stop
<stop stop-color="#c22dda"/>
CSS variable + fill
:root { --c: #c22dda; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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