Skip to content
Vectorlight.net

#c951ec

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

HEX
#c951ec
RGB
201, 81, 236
HSL
286.45°, 80.31%, 62.16%
OKLCH
0.65 0.24 317.72
Names
—
Lists

Codes

FormatValue
HEX#c951ec
RGBrgb(201 81 236)
HSLhsl(286.45 80.31% 62.16%)
OKLCHoklch(0.65 0.24 317.72)
CMYKcmyk(14.83% 65.68% 0% 7.45%)
Android#ffc951ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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