Skip to content
Vectorlight.net

#cc45e5

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

HEX
#cc45e5
RGB
204, 69, 229
HSL
290.63°, 75.47%, 58.43%
OKLCH
0.64 0.25 320.94
Names
—
Lists

Codes

FormatValue
HEX#cc45e5
RGBrgb(204 69 229)
HSLhsl(290.63 75.47% 58.43%)
OKLCHoklch(0.64 0.25 320.94)
CMYKcmyk(10.92% 69.87% 0% 10.2%)
Android#ffcc45e5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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