Skip to content
Vectorlight.net

#cca8cd

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

HEX
#cca8cd
RGB
204, 168, 205
HSL
298.38°, 27.01%, 73.14%
OKLCH
0.78 0.07 325.34
Names
—
Lists

Codes

FormatValue
HEX#cca8cd
RGBrgb(204 168 205)
HSLhsl(298.38 27.01% 73.14%)
OKLCHoklch(0.78 0.07 325.34)
CMYKcmyk(0.49% 18.05% 0% 19.61%)
Android#ffcca8cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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