Skip to content
Vectorlight.net

#cc3387

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

HEX
#cc3387
RGB
204, 51, 135
HSL
327.06°, 60%, 50%
OKLCH
0.58 0.2 351.87
Names
—
Lists

Codes

FormatValue
HEX#cc3387
RGBrgb(204 51 135)
HSLhsl(327.06 60% 50%)
OKLCHoklch(0.58 0.2 351.87)
CMYKcmyk(0% 75% 33.82% 20%)
Android#ffcc3387

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.39:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#cc3387"
Gradient stop
<stop stop-color="#cc3387"/>
CSS variable + fill
:root { --c: #cc3387; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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