Skip to content
Vectorlight.net

#cc78dc

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

HEX
#cc78dc
RGB
204, 120, 220
HSL
290.4°, 58.82%, 66.67%
OKLCH
0.7 0.17 321.03
Names
—
Lists

Codes

FormatValue
HEX#cc78dc
RGBrgb(204 120 220)
HSLhsl(290.4 58.82% 66.67%)
OKLCHoklch(0.7 0.17 321.03)
CMYKcmyk(7.27% 45.45% 0% 13.73%)
Android#ffcc78dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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