Skip to content

#dddaf8

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

RGB
221, 218, 248
HSL
246°, 68%, 91%
CMYK
11, 12, 0, 3
Luminance
0.7229

Every format

HEX#dddaf8
RGBrgb(221, 218, 248)
HSLhsl(246, 68%, 91%)
CMYKcmyk(11%, 12%, 0%, 3%)
LABlab(88.1 6.7 -14.2)
LCHlch(88.1 15.7 295.2)
OKLCHoklch(0.900 0.041 290.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dddaf8 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#dddaf8 on black: 15.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green85.5%
Blue97.3%

CMYK percentages

Cyan10.9%
Magenta12.1%
Yellow0.0%
Key (black)2.7%

Color previews

#dddaf8 text on a black background

contrast 15.46:1

Card sample

#dddaf8 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 218, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 218, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dddaf8;
background: linear-gradient(135deg, #dddaf8, #F1DAF8);

Monochromatic scale

Palettes built from #dddaf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dddaf8 in the Color Lab