Skip to content
Vectorlight.net

#ca22dc

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

HEX
#ca22dc
RGB
202, 34, 220
HSL
294.19°, 73.23%, 49.8%
OKLCH
0.61 0.27 323.48
Names
—
Lists

Codes

FormatValue
HEX#ca22dc
RGBrgb(202 34 220)
HSLhsl(294.19 73.23% 49.8%)
OKLCHoklch(0.61 0.27 323.48)
CMYKcmyk(8.18% 84.55% 0% 13.73%)
Android#ffca22dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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