Skip to content
Vectorlight.net

#cc5dff

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

HEX
#cc5dff
RGB
204, 93, 255
HSL
281.11°, 100%, 68.24%
OKLCH
0.68 0.24 313.4
Names
—
Lists

Codes

FormatValue
HEX#cc5dff
RGBrgb(204 93 255)
HSLhsl(281.11 100% 68.24%)
OKLCHoklch(0.68 0.24 313.4)
CMYKcmyk(20% 63.53% 0% 0%)
Android#ffcc5dff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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