Skip to content
Vectorlight.net

#ccafdf

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

HEX
#ccafdf
RGB
204, 175, 223
HSL
276.25°, 42.86%, 78.04%
OKLCH
0.79 0.07 311.84
Names
—
Lists

Codes

FormatValue
HEX#ccafdf
RGBrgb(204 175 223)
HSLhsl(276.25 42.86% 78.04%)
OKLCHoklch(0.79 0.07 311.84)
CMYKcmyk(8.52% 21.52% 0% 12.55%)
Android#ffccafdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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