Skip to content
Vectorlight.net

#c64aaa

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

HEX
#c64aaa
RGB
198, 74, 170
HSL
313.55°, 52.1%, 53.33%
OKLCH
0.61 0.19 337.64
Names
—
Lists

Codes

FormatValue
HEX#c64aaa
RGBrgb(198 74 170)
HSLhsl(313.55 52.1% 53.33%)
OKLCHoklch(0.61 0.19 337.64)
CMYKcmyk(0% 62.63% 14.14% 22.35%)
Android#ffc64aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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