Skip to content
Vectorlight.net

#cc7eee

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

HEX
#cc7eee
RGB
204, 126, 238
HSL
281.79°, 76.71%, 71.37%
OKLCH
0.72 0.17 314.84
Names
—
Lists

Codes

FormatValue
HEX#cc7eee
RGBrgb(204 126 238)
HSLhsl(281.79 76.71% 71.37%)
OKLCHoklch(0.72 0.17 314.84)
CMYKcmyk(14.29% 47.06% 0% 6.67%)
Android#ffcc7eee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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