Skip to content
Vectorlight.net

#cc6498

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

HEX
#cc6498
RGB
204, 100, 152
HSL
330°, 50.49%, 59.61%
OKLCH
0.64 0.14 350.65
Names
—
Lists

Codes

FormatValue
HEX#cc6498
RGBrgb(204 100 152)
HSLhsl(330 50.49% 59.61%)
OKLCHoklch(0.64 0.14 350.65)
CMYKcmyk(0% 50.98% 25.49% 20%)
Android#ffcc6498

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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