Skip to content
Vectorlight.net

#cc5ae3

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

HEX
#cc5ae3
RGB
204, 90, 227
HSL
289.93°, 70.98%, 62.16%
OKLCH
0.66 0.22 320.59
Names
—
Lists

Codes

FormatValue
HEX#cc5ae3
RGBrgb(204 90 227)
HSLhsl(289.93 70.98% 62.16%)
OKLCHoklch(0.66 0.22 320.59)
CMYKcmyk(10.13% 60.35% 0% 10.98%)
Android#ffcc5ae3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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