Skip to content
Vectorlight.net

#cc82ee

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

HEX
#cc82ee
RGB
204, 130, 238
HSL
281.11°, 76.06%, 72.16%
OKLCH
0.72 0.17 314.4
Names
—
Lists

Codes

FormatValue
HEX#cc82ee
RGBrgb(204 130 238)
HSLhsl(281.11 76.06% 72.16%)
OKLCHoklch(0.72 0.17 314.4)
CMYKcmyk(14.29% 45.38% 0% 6.67%)
Android#ffcc82ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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