Skip to content

#dfcafd

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

RGB
223, 202, 253
HSL
265°, 93%, 89%
CMYK
12, 20, 0, 1
Luminance
0.6502

Every format

HEX#dfcafd
RGBrgb(223, 202, 253)
HSLhsl(265, 93%, 89%)
CMYKcmyk(12%, 20%, 0%, 1%)
LABlab(84.5 16.8 -22.3)
LCHlch(84.5 27.9 307.0)
OKLCHoklch(0.873 0.073 303.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcafd on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#dfcafd on black: 14.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green79.2%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta20.2%
Yellow0.0%
Key (black)0.8%

Color previews

#dfcafd text on a black background

contrast 14.00:1

Card sample

#dfcafd text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcafd in the Color Lab