Skip to content
Vectorlight.net

#c02ecd

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

HEX
#c02ecd
RGB
192, 46, 205
HSL
295.09°, 63.35%, 49.22%
OKLCH
0.59 0.25 324.36
Names
—
Lists

Codes

FormatValue
HEX#c02ecd
RGBrgb(192 46 205)
HSLhsl(295.09 63.35% 49.22%)
OKLCHoklch(0.59 0.25 324.36)
CMYKcmyk(6.34% 77.56% 0% 19.61%)
Android#ffc02ecd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.65:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.51:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#c02ecd"
Gradient stop
<stop stop-color="#c02ecd"/>
CSS variable + fill
:root { --c: #c02ecd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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