Skip to content
Vectorlight.net

#c51eda

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

HEX
#c51eda
RGB
197, 30, 218
HSL
293.3°, 75.81%, 48.63%
OKLCH
0.6 0.27 322.66
Names
—
Lists

Codes

FormatValue
HEX#c51eda
RGBrgb(197 30 218)
HSLhsl(293.3 75.81% 48.63%)
OKLCHoklch(0.6 0.27 322.66)
CMYKcmyk(9.63% 86.24% 0% 14.51%)
Android#ffc51eda

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

Recolor an SVG with this color

CSS

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