Skip to content
Vectorlight.net

#cc3dab

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

HEX
#cc3dab
RGB
204, 61, 171
HSL
313.85°, 58.37%, 51.96%
OKLCH
0.6 0.21 338.63
Names
—
Lists

Codes

FormatValue
HEX#cc3dab
RGBrgb(204 61 171)
HSLhsl(313.85 58.37% 51.96%)
OKLCHoklch(0.6 0.21 338.63)
CMYKcmyk(0% 70.1% 16.18% 20%)
Android#ffcc3dab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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