Skip to content

#dfbefd

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

RGB
223, 190, 253
HSL
271°, 94%, 87%
CMYK
12, 25, 0, 1
Luminance
0.5961

Every format

HEX#dfbefd
RGBrgb(223, 190, 253)
HSLhsl(271, 94%, 87%)
CMYKcmyk(12%, 25%, 0%, 1%)
LABlab(81.6 23.2 -26.7)
LCHlch(81.6 35.4 311.1)
OKLCHoklch(0.851 0.093 308.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbefd on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#dfbefd on black: 12.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.5%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta24.9%
Yellow0.0%
Key (black)0.8%

Color previews

#dfbefd text on a black background

contrast 12.92:1

Card sample

#dfbefd text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbefd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbefd in the Color Lab