Skip to content
Vectorlight.net

#c40fcf

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

HEX
#c40fcf
RGB
196, 15, 207
HSL
296.56°, 86.49%, 43.53%
OKLCH
0.59 0.27 325.36
Names
—
Lists

Codes

FormatValue
HEX#c40fcf
RGBrgb(196 15 207)
HSLhsl(296.56 86.49% 43.53%)
OKLCHoklch(0.59 0.27 325.36)
CMYKcmyk(5.31% 92.75% 0% 18.82%)
Android#ffc40fcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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