Skip to content
Vectorlight.net

#d5cafe

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

HEX
#d5cafe
RGB
213, 202, 254
HSL
252.69°, 96.3%, 89.41%
OKLCH
0.86 0.07 294.54
Names
—
Lists

Codes

FormatValue
HEX#d5cafe
RGBrgb(213 202 254)
HSLhsl(252.69 96.3% 89.41%)
OKLCHoklch(0.86 0.07 294.54)
CMYKcmyk(16.14% 20.47% 0% 0.39%)
Android#ffd5cafe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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