Skip to content
Vectorlight.net

#cc94dc

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

HEX
#cc94dc
RGB
204, 148, 220
HSL
286.67°, 50.7%, 72.16%
OKLCH
0.75 0.12 318.58
Names
—
Lists

Codes

FormatValue
HEX#cc94dc
RGBrgb(204 148 220)
HSLhsl(286.67 50.7% 72.16%)
OKLCHoklch(0.75 0.12 318.58)
CMYKcmyk(7.27% 32.73% 0% 13.73%)
Android#ffcc94dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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