Skip to content
Vectorlight.net

#c12dca

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

HEX
#c12dca
RGB
193, 45, 202
HSL
296.56°, 63.56%, 48.43%
OKLCH
0.59 0.25 325.51
Names
—
Lists

Codes

FormatValue
HEX#c12dca
RGBrgb(193 45 202)
HSLhsl(296.56 63.56% 48.43%)
OKLCHoklch(0.59 0.25 325.51)
CMYKcmyk(4.46% 77.72% 0% 20.78%)
Android#ffc12dca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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