Skip to content

#dfd5fc

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

RGB
223, 213, 252
HSL
255°, 87%, 91%
CMYK
12, 16, 0, 1
Luminance
0.7030

Every format

HEX#dfd5fc
RGBrgb(223, 213, 252)
HSLhsl(255, 87%, 91%)
CMYKcmyk(12%, 16%, 0%, 1%)
LABlab(87.2 10.8 -17.8)
LCHlch(87.2 20.8 301.2)
OKLCHoklch(0.893 0.054 297.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd5fc on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#dfd5fc on black: 15.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green83.5%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta15.5%
Yellow0.0%
Key (black)1.2%

Color previews

#dfd5fc text on a black background

contrast 15.06:1

Card sample

#dfd5fc text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd5fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd5fc in the Color Lab