Skip to content
Vectorlight.net

#cc4cdd

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

HEX
#cc4cdd
RGB
204, 76, 221
HSL
292.97°, 68.08%, 58.24%
OKLCH
0.64 0.23 322.81
Names
—
Lists

Codes

FormatValue
HEX#cc4cdd
RGBrgb(204 76 221)
HSLhsl(292.97 68.08% 58.24%)
OKLCHoklch(0.64 0.23 322.81)
CMYKcmyk(7.69% 65.61% 0% 13.33%)
Android#ffcc4cdd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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