Skip to content
Vectorlight.net

#c64cc2

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

HEX
#c64cc2
RGB
198, 76, 194
HSL
301.97°, 51.69%, 53.73%
OKLCH
0.62 0.21 329.03
Names
—
Lists

Codes

FormatValue
HEX#c64cc2
RGBrgb(198 76 194)
HSLhsl(301.97 51.69% 53.73%)
OKLCHoklch(0.62 0.21 329.03)
CMYKcmyk(0% 61.62% 2.02% 22.35%)
Android#ffc64cc2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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