Skip to content
Vectorlight.net

#cc84ec

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

HEX
#cc84ec
RGB
204, 132, 236
HSL
281.54°, 73.24%, 72.16%
OKLCH
0.73 0.16 314.77
Names
—
Lists

Codes

FormatValue
HEX#cc84ec
RGBrgb(204 132 236)
HSLhsl(281.54 73.24% 72.16%)
OKLCHoklch(0.73 0.16 314.77)
CMYKcmyk(13.56% 44.07% 0% 7.45%)
Android#ffcc84ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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