Skip to content
Vectorlight.net

#cc4efd

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

HEX
#cc4efd
RGB
204, 78, 253
HSL
283.2°, 97.77%, 64.9%
OKLCH
0.67 0.26 314.78
Names
—
Lists

Codes

FormatValue
HEX#cc4efd
RGBrgb(204 78 253)
HSLhsl(283.2 97.77% 64.9%)
OKLCHoklch(0.67 0.26 314.78)
CMYKcmyk(19.37% 69.17% 0% 0.78%)
Android#ffcc4efd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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