Skip to content
Vectorlight.net

#c940ca

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

HEX
#c940ca
RGB
201, 64, 202
HSL
299.57°, 56.56%, 52.16%
OKLCH
0.62 0.23 327.61
Names
—
Lists

Codes

FormatValue
HEX#c940ca
RGBrgb(201 64 202)
HSLhsl(299.57 56.56% 52.16%)
OKLCHoklch(0.62 0.23 327.61)
CMYKcmyk(0.5% 68.32% 0% 20.78%)
Android#ffc940ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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