Skip to content
Vectorlight.net

#c152cd

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

HEX
#c152cd
RGB
193, 82, 205
HSL
294.15°, 55.16%, 56.27%
OKLCH
0.63 0.2 323.68
Names
—
Lists

Codes

FormatValue
HEX#c152cd
RGBrgb(193 82 205)
HSLhsl(294.15 55.16% 56.27%)
OKLCHoklch(0.63 0.2 323.68)
CMYKcmyk(5.85% 60% 0% 19.61%)
Android#ffc152cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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