Skip to content
Vectorlight.net

#c04dca

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

HEX
#c04dca
RGB
192, 77, 202
HSL
295.2°, 54.11%, 54.71%
OKLCH
0.62 0.21 324.44
Names
—
Lists

Codes

FormatValue
HEX#c04dca
RGBrgb(192 77 202)
HSLhsl(295.2 54.11% 54.71%)
OKLCHoklch(0.62 0.21 324.44)
CMYKcmyk(4.95% 61.88% 0% 20.78%)
Android#ffc04dca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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