Skip to content
Vectorlight.net

#c64acc

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

HEX
#c64acc
RGB
198, 74, 204
HSL
297.23°, 56.03%, 54.51%
OKLCH
0.62 0.22 325.89
Names
—
Lists

Codes

FormatValue
HEX#c64acc
RGBrgb(198 74 204)
HSLhsl(297.23 56.03% 54.51%)
OKLCHoklch(0.62 0.22 325.89)
CMYKcmyk(2.94% 63.73% 0% 20%)
Android#ffc64acc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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