Skip to content
Vectorlight.net

#cc78ce

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

HEX
#cc78ce
RGB
204, 120, 206
HSL
298.6°, 46.74%, 63.92%
OKLCH
0.69 0.15 326.23
Names
—
Lists

Codes

FormatValue
HEX#cc78ce
RGBrgb(204 120 206)
HSLhsl(298.6 46.74% 63.92%)
OKLCHoklch(0.69 0.15 326.23)
CMYKcmyk(0.97% 41.75% 0% 19.22%)
Android#ffcc78ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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