Skip to content
Vectorlight.net

#cc7bda

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

HEX
#cc7bda
RGB
204, 123, 218
HSL
291.16°, 56.21%, 66.86%
OKLCH
0.7 0.16 321.54
Names
—
Lists

Codes

FormatValue
HEX#cc7bda
RGBrgb(204 123 218)
HSLhsl(291.16 56.21% 66.86%)
OKLCHoklch(0.7 0.16 321.54)
CMYKcmyk(6.42% 43.58% 0% 14.51%)
Android#ffcc7bda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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