Skip to content

#dfd4f0

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

RGB
223, 212, 240
HSL
264°, 48%, 89%
CMYK
7, 12, 0, 6
Luminance
0.6907

Every format

HEX#dfd4f0
RGBrgb(223, 212, 240)
HSLhsl(264, 48%, 89%)
CMYKcmyk(7%, 12%, 0%, 6%)
LABlab(86.5 8.9 -12.3)
LCHlch(86.5 15.2 305.9)
OKLCHoklch(0.887 0.040 303.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd4f0 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#dfd4f0 on black: 14.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green83.1%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta11.7%
Yellow0.0%
Key (black)5.9%

Color previews

#dfd4f0 text on a black background

contrast 14.81:1

Card sample

#dfd4f0 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd4f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd4f0 in the Color Lab