Skip to content
Vectorlight.net

#cc78ca

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

HEX
#cc78ca
RGB
204, 120, 202
HSL
301.43°, 45.16%, 63.53%
OKLCH
0.69 0.15 327.88
Names
—
Lists

Codes

FormatValue
HEX#cc78ca
RGBrgb(204 120 202)
HSLhsl(301.43 45.16% 63.53%)
OKLCHoklch(0.69 0.15 327.88)
CMYKcmyk(0% 41.18% 0.98% 20%)
Android#ffcc78ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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