Skip to content
Vectorlight.net

#c342ca

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

HEX
#c342ca
RGB
195, 66, 202
HSL
296.91°, 56.2%, 52.55%
OKLCH
0.61 0.22 325.71
Names
—
Lists

Codes

FormatValue
HEX#c342ca
RGBrgb(195 66 202)
HSLhsl(296.91 56.2% 52.55%)
OKLCHoklch(0.61 0.22 325.71)
CMYKcmyk(3.47% 67.33% 0% 20.78%)
Android#ffc342ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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