Skip to content
Vectorlight.net

#cc7fdd

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

HEX
#cc7fdd
RGB
204, 127, 221
HSL
289.15°, 58.02%, 68.24%
OKLCH
0.71 0.15 320.19
Names
—
Lists

Codes

FormatValue
HEX#cc7fdd
RGBrgb(204 127 221)
HSLhsl(289.15 58.02% 68.24%)
OKLCHoklch(0.71 0.15 320.19)
CMYKcmyk(7.69% 42.53% 0% 13.33%)
Android#ffcc7fdd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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