Skip to content
Vectorlight.net

#cc73e2

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

HEX
#cc73e2
RGB
204, 115, 226
HSL
288.11°, 65.68%, 66.86%
OKLCH
0.7 0.18 319.42
Names
—
Lists

Codes

FormatValue
HEX#cc73e2
RGBrgb(204 115 226)
HSLhsl(288.11 65.68% 66.86%)
OKLCHoklch(0.7 0.18 319.42)
CMYKcmyk(9.73% 49.12% 0% 11.37%)
Android#ffcc73e2

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.11: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="#cc73e2"
Gradient stop
<stop stop-color="#cc73e2"/>
CSS variable + fill
:root { --c: #cc73e2; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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