Skip to content

#d4d4f7

a pale, vivid blue · warm · closest name: lavender

RGB
212, 212, 247
HSL
240°, 69%, 90%
CMYK
14, 14, 0, 3
Luminance
0.6780

Every format

HEX#d4d4f7
RGBrgb(212, 212, 247)
HSLhsl(240, 69%, 90%)
CMYKcmyk(14%, 14%, 0%, 3%)
LABlab(85.9 6.8 -17.1)
LCHlch(85.9 18.4 291.7)
OKLCHoklch(0.881 0.048 285.4)

Copy-ready code

/* CSS */
color: #d4d4f7;
background-color: #d4d4f7;
/* Tailwind (arbitrary) */
class="text-[#d4d4f7] bg-[#d4d4f7]"
/* SCSS */
$brand: #d4d4f7;
/* SwiftUI */
Color(red: 0.831, green: 0.831, blue: 0.969)
/* Android */
Color.parseColor("#d4d4f7")

Accessibility — WCAG contrast

Aa
#d4d4f7 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#d4d4f7 on black: 14.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green83.1%
Blue96.9%

CMYK percentages

Cyan14.2%
Magenta14.2%
Yellow0.0%
Key (black)3.1%

Color previews

#d4d4f7 text on a black background

contrast 14.56:1

Card sample

#d4d4f7 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #d4d4f7;
Background color
Panel with #d4d4f7 background
background-color: #d4d4f7;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #d4d4f7;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(212, 212, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 212, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4d4f7;
background: linear-gradient(135deg, #d4d4f7, #EBD4F7);

Monochromatic scale

Palettes built from #d4d4f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4d4f7 in the Color Lab