Skip to content
Vectorlight.net

#c42cda

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

HEX
#c42cda
RGB
196, 44, 218
HSL
292.41°, 70.16%, 51.37%
OKLCH
0.61 0.26 322.12
Names
—
Lists

Codes

FormatValue
HEX#c42cda
RGBrgb(196 44 218)
HSLhsl(292.41 70.16% 51.37%)
OKLCHoklch(0.61 0.26 322.12)
CMYKcmyk(10.09% 79.82% 0% 14.51%)
Android#ffc42cda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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