Skip to content
Vectorlight.net

#c04cdd

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

HEX
#c04cdd
RGB
192, 76, 221
HSL
288°, 68.08%, 58.24%
OKLCH
0.63 0.23 318.98
Names
—
Lists

Codes

FormatValue
HEX#c04cdd
RGBrgb(192 76 221)
HSLhsl(288 68.08% 58.24%)
OKLCHoklch(0.63 0.23 318.98)
CMYKcmyk(13.12% 65.61% 0% 13.33%)
Android#ffc04cdd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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