Skip to content
Vectorlight.net

#ce22cc

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

HEX
#ce22cc
RGB
206, 34, 204
HSL
300.7°, 71.67%, 47.06%
OKLCH
0.61 0.26 328.76
Names
—
Lists

Codes

FormatValue
HEX#ce22cc
RGBrgb(206 34 204)
HSLhsl(300.7 71.67% 47.06%)
OKLCHoklch(0.61 0.26 328.76)
CMYKcmyk(0% 83.5% 0.97% 19.22%)
Android#ffce22cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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