Skip to content
Vectorlight.net

#c951cd

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

HEX
#c951cd
RGB
201, 81, 205
HSL
298.06°, 55.36%, 56.08%
OKLCH
0.64 0.21 326.4
Names
—
Lists

Codes

FormatValue
HEX#c951cd
RGBrgb(201 81 205)
HSLhsl(298.06 55.36% 56.08%)
OKLCHoklch(0.64 0.21 326.4)
CMYKcmyk(1.95% 60.49% 0% 19.61%)
Android#ffc951cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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