Skip to content

#dfd2fc

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

RGB
223, 210, 252
HSL
259°, 88%, 91%
CMYK
12, 17, 0, 1
Luminance
0.6881

Every format

HEX#dfd2fc
RGBrgb(223, 210, 252)
HSLhsl(259, 88%, 91%)
CMYKcmyk(12%, 17%, 0%, 1%)
LABlab(86.4 12.3 -18.9)
LCHlch(86.4 22.6 303.2)
OKLCHoklch(0.887 0.059 299.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan11.5%
Magenta16.7%
Yellow0.0%
Key (black)1.2%

Color previews

#dfd2fc text on a black background

contrast 14.76:1

Card sample

#dfd2fc text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd2fc in the Color Lab