Skip to content

#dfd2fb

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

RGB
223, 210, 251
HSL
259°, 84%, 90%
CMYK
11, 16, 0, 2
Luminance
0.6875

Every format

HEX#dfd2fb
RGBrgb(223, 210, 251)
HSLhsl(259, 84%, 90%)
CMYKcmyk(11%, 16%, 0%, 2%)
LABlab(86.4 12.2 -18.4)
LCHlch(86.4 22.1 303.4)
OKLCHoklch(0.887 0.057 299.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green82.4%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta16.3%
Yellow0.0%
Key (black)1.6%

Color previews

#dfd2fb text on a black background

contrast 14.75:1

Card sample

#dfd2fb text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd2fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd2fb in the Color Lab