Skip to content
Vectorlight.net

#cc57fe

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

HEX
#cc57fe
RGB
204, 87, 254
HSL
282.04°, 98.82%, 66.86%
OKLCH
0.68 0.25 314.03
Names
—
Lists

Codes

FormatValue
HEX#cc57fe
RGBrgb(204 87 254)
HSLhsl(282.04 98.82% 66.86%)
OKLCHoklch(0.68 0.25 314.03)
CMYKcmyk(19.69% 65.75% 0% 0.39%)
Android#ffcc57fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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