Skip to content
Vectorlight.net

#c04fed

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

HEX
#c04fed
RGB
192, 79, 237
HSL
282.91°, 81.44%, 61.96%
OKLCH
0.64 0.24 314.73
Names
—
Lists

Codes

FormatValue
HEX#c04fed
RGBrgb(192 79 237)
HSLhsl(282.91 81.44% 61.96%)
OKLCHoklch(0.64 0.24 314.73)
CMYKcmyk(18.99% 66.67% 0% 7.06%)
Android#ffc04fed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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