Skip to content

#dfd2f0

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

RGB
223, 210, 240
HSL
266°, 50%, 88%
CMYK
7, 13, 0, 6
Luminance
0.6807

Every format

HEX#dfd2f0
RGBrgb(223, 210, 240)
HSLhsl(266, 50%, 88%)
CMYKcmyk(7%, 13%, 0%, 6%)
LABlab(86.0 10.0 -13.1)
LCHlch(86.0 16.4 307.3)
OKLCHoklch(0.883 0.043 305.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd2f0 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#dfd2f0 on black: 14.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green82.4%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta12.5%
Yellow0.0%
Key (black)5.9%

Color previews

#dfd2f0 text on a black background

contrast 14.61:1

Card sample

#dfd2f0 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd2f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd2f0 in the Color Lab