Skip to content
Vectorlight.net

#c142dc

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

HEX
#c142dc
RGB
193, 66, 220
HSL
289.48°, 68.75%, 56.08%
OKLCH
0.62 0.24 320.02
Names
—
Lists

Codes

FormatValue
HEX#c142dc
RGBrgb(193 66 220)
HSLhsl(289.48 68.75% 56.08%)
OKLCHoklch(0.62 0.24 320.02)
CMYKcmyk(12.27% 70% 0% 13.73%)
Android#ffc142dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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