Skip to content
Vectorlight.net

#c12bc2

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

HEX
#c12bc2
RGB
193, 43, 194
HSL
299.6°, 63.71%, 46.47%
OKLCH
0.59 0.24 327.83
Names
—
Lists

Codes

FormatValue
HEX#c12bc2
RGBrgb(193 43 194)
HSLhsl(299.6 63.71% 46.47%)
OKLCHoklch(0.59 0.24 327.83)
CMYKcmyk(0.52% 77.84% 0% 23.92%)
Android#ffc12bc2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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