Skip to content
Vectorlight.net

#c51cdc

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

HEX
#c51cdc
RGB
197, 28, 220
HSL
292.81°, 77.42%, 48.63%
OKLCH
0.6 0.27 322.19
Names
—
Lists

Codes

FormatValue
HEX#c51cdc
RGBrgb(197 28 220)
HSLhsl(292.81 77.42% 48.63%)
OKLCHoklch(0.6 0.27 322.19)
CMYKcmyk(10.45% 87.27% 0% 13.73%)
Android#ffc51cdc

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

Recolor an SVG with this color

CSS

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