Skip to content
Vectorlight.net

#ca22cf

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

HEX
#ca22cf
RGB
202, 34, 207
HSL
298.27°, 71.78%, 47.25%
OKLCH
0.6 0.26 326.86
Names
—
Lists

Codes

FormatValue
HEX#ca22cf
RGBrgb(202 34 207)
HSLhsl(298.27 71.78% 47.25%)
OKLCHoklch(0.6 0.26 326.86)
CMYKcmyk(2.42% 83.57% 0% 18.82%)
Android#ffca22cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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