Skip to content
Vectorlight.net

#ccaffe

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

HEX
#ccaffe
RGB
204, 175, 254
HSL
262.03°, 97.53%, 84.12%
OKLCH
0.81 0.11 300.75
Names
—
Lists

Codes

FormatValue
HEX#ccaffe
RGBrgb(204 175 254)
HSLhsl(262.03 97.53% 84.12%)
OKLCHoklch(0.81 0.11 300.75)
CMYKcmyk(19.69% 31.1% 0% 0.39%)
Android#ffccaffe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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