Skip to content

#dfd1fc

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

RGB
223, 209, 252
HSL
260°, 88%, 90%
CMYK
12, 17, 0, 1
Luminance
0.6832

Every format

HEX#dfd1fc
RGBrgb(223, 209, 252)
HSLhsl(260, 88%, 90%)
CMYKcmyk(12%, 17%, 0%, 1%)
LABlab(86.2 12.9 -19.3)
LCHlch(86.2 23.2 303.8)
OKLCHoklch(0.886 0.060 300.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green82.0%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta17.1%
Yellow0.0%
Key (black)1.2%

Color previews

#dfd1fc text on a black background

contrast 14.66:1

Card sample

#dfd1fc text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd1fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd1fc in the Color Lab