Skip to content
Vectorlight.net

#c04cef

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

HEX
#c04cef
RGB
192, 76, 239
HSL
282.7°, 83.59%, 61.76%
OKLCH
0.64 0.24 314.43
Names
—
Lists

Codes

FormatValue
HEX#c04cef
RGBrgb(192 76 239)
HSLhsl(282.7 83.59% 61.76%)
OKLCHoklch(0.64 0.24 314.43)
CMYKcmyk(19.67% 68.2% 0% 6.27%)
Android#ffc04cef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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