Skip to content
Vectorlight.net

#c300cf

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

HEX
#c300cf
RGB
195, 0, 207
HSL
296.52°, 100%, 40.59%
OKLCH
0.58 0.27 325.16
Names
—
Lists

Codes

FormatValue
HEX#c300cf
RGBrgb(195 0 207)
HSLhsl(296.52 100% 40.59%)
OKLCHoklch(0.58 0.27 325.16)
CMYKcmyk(5.8% 100% 0% 18.82%)
Android#ffc300cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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