Skip to content

#deddf7

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

RGB
222, 221, 247
HSL
242°, 62%, 92%
CMYK
10, 11, 0, 3
Luminance
0.7396

Every format

HEX#deddf7
RGBrgb(222, 221, 247)
HSLhsl(242, 62%, 92%)
CMYKcmyk(10%, 11%, 0%, 3%)
LABlab(88.9 5.2 -12.5)
LCHlch(88.9 13.6 292.7)
OKLCHoklch(0.906 0.035 287.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#deddf7 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#deddf7 on black: 15.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green86.7%
Blue96.9%

CMYK percentages

Cyan10.1%
Magenta10.5%
Yellow0.0%
Key (black)3.1%

Color previews

#deddf7 text on a black background

contrast 15.79:1

Card sample

#deddf7 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #deddf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #deddf7 in the Color Lab