Skip to content
Vectorlight.net

#d4d2fc

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

HEX
#d4d2fc
RGB
212, 210, 252
HSL
242.86°, 87.5%, 90.59%
OKLCH
0.88 0.06 287.33
Names
—
Lists

Codes

FormatValue
HEX#d4d2fc
RGBrgb(212 210 252)
HSLhsl(242.86 87.5% 90.59%)
OKLCHoklch(0.88 0.06 287.33)
CMYKcmyk(15.87% 16.67% 0% 1.18%)
Android#ffd4d2fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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