Skip to content
Vectorlight.net

#cc3def

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

HEX
#cc3def
RGB
204, 61, 239
HSL
288.2°, 84.76%, 58.82%
OKLCH
0.64 0.26 318.76
Names
—
Lists

Codes

FormatValue
HEX#cc3def
RGBrgb(204 61 239)
HSLhsl(288.2 84.76% 58.82%)
OKLCHoklch(0.64 0.26 318.76)
CMYKcmyk(14.64% 74.48% 0% 6.27%)
Android#ffcc3def

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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