Skip to content
Vectorlight.net

#d8caef

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

HEX
#d8caef
RGB
216, 202, 239
HSL
262.7°, 53.62%, 86.47%
OKLCH
0.86 0.05 302.51
Names
—
Lists

Codes

FormatValue
HEX#d8caef
RGBrgb(216 202 239)
HSLhsl(262.7 53.62% 86.47%)
OKLCHoklch(0.86 0.05 302.51)
CMYKcmyk(9.62% 15.48% 0% 6.27%)
Android#ffd8caef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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