Skip to content

#dfd2f7

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

RGB
223, 210, 247
HSL
261°, 70%, 90%
CMYK
10, 15, 0, 3
Luminance
0.6850

Every format

HEX#dfd2f7
RGBrgb(223, 210, 247)
HSLhsl(261, 70%, 90%)
CMYKcmyk(10%, 15%, 0%, 3%)
LABlab(86.3 11.3 -16.5)
LCHlch(86.3 20.0 304.6)
OKLCHoklch(0.886 0.052 301.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green82.4%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta15.0%
Yellow0.0%
Key (black)3.1%

Color previews

#dfd2f7 text on a black background

contrast 14.70:1

Card sample

#dfd2f7 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd2f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd2f7 in the Color Lab