Skip to content

#dfd5f3

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

RGB
223, 213, 243
HSL
260°, 56%, 89%
CMYK
8, 12, 0, 5
Luminance
0.6975

Every format

HEX#dfd5f3
RGBrgb(223, 213, 243)
HSLhsl(260, 56%, 89%)
CMYKcmyk(8%, 12%, 0%, 5%)
LABlab(86.9 9.0 -13.4)
LCHlch(86.9 16.1 303.7)
OKLCHoklch(0.890 0.042 300.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd5f3 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#dfd5f3 on black: 14.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green83.5%
Blue95.3%

CMYK percentages

Cyan8.2%
Magenta12.3%
Yellow0.0%
Key (black)4.7%

Color previews

#dfd5f3 text on a black background

contrast 14.95:1

Card sample

#dfd5f3 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd5f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd5f3 in the Color Lab