Skip to content
Vectorlight.net

#cc2fd0

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

HEX
#cc2fd0
RGB
204, 47, 208
HSL
298.51°, 63.14%, 50%
OKLCH
0.61 0.25 327
Names
—
Lists

Codes

FormatValue
HEX#cc2fd0
RGBrgb(204 47 208)
HSLhsl(298.51 63.14% 50%)
OKLCHoklch(0.61 0.25 327)
CMYKcmyk(1.92% 77.4% 0% 18.43%)
Android#ffcc2fd0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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