Skip to content
Vectorlight.net

#c64ddd

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

HEX
#c64ddd
RGB
198, 77, 221
HSL
290.42°, 67.92%, 58.43%
OKLCH
0.64 0.23 320.88
Names
—
Lists

Codes

FormatValue
HEX#c64ddd
RGBrgb(198 77 221)
HSLhsl(290.42 67.92% 58.43%)
OKLCHoklch(0.64 0.23 320.88)
CMYKcmyk(10.41% 65.16% 0% 13.33%)
Android#ffc64ddd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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