Skip to content
Vectorlight.net

#d1dafa

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

HEX
#d1dafa
RGB
209, 218, 250
HSL
226.83°, 80.39%, 90%
OKLCH
0.89 0.05 273.03
Names
—
Lists

Codes

FormatValue
HEX#d1dafa
RGBrgb(209 218 250)
HSLhsl(226.83 80.39% 90%)
OKLCHoklch(0.89 0.05 273.03)
CMYKcmyk(16.4% 12.8% 0% 1.96%)
Android#ffd1dafa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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