Skip to content
Vectorlight.net

#cc00ff

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

HEX
#cc00ff
RGB
204, 0, 255
HSL
288°, 100%, 50%
OKLCH
0.63 0.31 316.38
Names
—
Lists

Codes

FormatValue
HEX#cc00ff
RGBrgb(204 0 255)
HSLhsl(288 100% 50%)
OKLCHoklch(0.63 0.31 316.38)
CMYKcmyk(20% 100% 0% 0%)
Android#ffcc00ff

Names & lists

Web-safe: Yes

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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