Skip to content
Vectorlight.net

#c428dc

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

HEX
#c428dc
RGB
196, 40, 220
HSL
292°, 72%, 50.98%
OKLCH
0.6 0.26 321.7
Names
—
Lists

Codes

FormatValue
HEX#c428dc
RGBrgb(196 40 220)
HSLhsl(292 72% 50.98%)
OKLCHoklch(0.6 0.26 321.7)
CMYKcmyk(10.91% 81.82% 0% 13.73%)
Android#ffc428dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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