Skip to content

#dfd2f8

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

RGB
223, 210, 248
HSL
261°, 73%, 90%
CMYK
10, 15, 0, 3
Luminance
0.6856

Every format

HEX#dfd2f8
RGBrgb(223, 210, 248)
HSLhsl(261, 73%, 90%)
CMYKcmyk(10%, 15%, 0%, 3%)
LABlab(86.3 11.6 -16.9)
LCHlch(86.3 20.5 304.3)
OKLCHoklch(0.886 0.053 300.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd2f8 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dfd2f8 on black: 14.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green82.4%
Blue97.3%

CMYK percentages

Cyan10.1%
Magenta15.3%
Yellow0.0%
Key (black)2.7%

Color previews

#dfd2f8 text on a black background

contrast 14.71:1

Card sample

#dfd2f8 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd2f8 in the Color Lab