Skip to content
Vectorlight.net

#cc4ef8

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

HEX
#cc4ef8
RGB
204, 78, 248
HSL
284.47°, 92.39%, 63.92%
OKLCH
0.66 0.25 315.92
Names
—
Lists

Codes

FormatValue
HEX#cc4ef8
RGBrgb(204 78 248)
HSLhsl(284.47 92.39% 63.92%)
OKLCHoklch(0.66 0.25 315.92)
CMYKcmyk(17.74% 68.55% 0% 2.75%)
Android#ffcc4ef8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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