Skip to content
Vectorlight.net

#c408cf

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

HEX
#c408cf
RGB
196, 8, 207
HSL
296.68°, 92.56%, 42.16%
OKLCH
0.58 0.27 325.4
Names
—
Lists

Codes

FormatValue
HEX#c408cf
RGBrgb(196 8 207)
HSLhsl(296.68 92.56% 42.16%)
OKLCHoklch(0.58 0.27 325.4)
CMYKcmyk(5.31% 96.14% 0% 18.82%)
Android#ffc408cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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