Skip to content
Vectorlight.net

#c42bcd

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

HEX
#c42bcd
RGB
196, 43, 205
HSL
296.67°, 65.32%, 48.63%
OKLCH
0.6 0.25 325.59
Names
—
Lists

Codes

FormatValue
HEX#c42bcd
RGBrgb(196 43 205)
HSLhsl(296.67 65.32% 48.63%)
OKLCHoklch(0.6 0.25 325.59)
CMYKcmyk(4.39% 79.02% 0% 19.61%)
Android#ffc42bcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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