Skip to content
Vectorlight.net

#cc3af3

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

HEX
#cc3af3
RGB
204, 58, 243
HSL
287.35°, 88.52%, 59.02%
OKLCH
0.64 0.27 317.93
Names
—
Lists

Codes

FormatValue
HEX#cc3af3
RGBrgb(204 58 243)
HSLhsl(287.35 88.52% 59.02%)
OKLCHoklch(0.64 0.27 317.93)
CMYKcmyk(16.05% 76.13% 0% 4.71%)
Android#ffcc3af3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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