Skip to content

#dfbef8

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

RGB
223, 190, 248
HSL
274°, 81%, 86%
CMYK
10, 23, 0, 3
Luminance
0.5929

Every format

HEX#dfbef8
RGBrgb(223, 190, 248)
HSLhsl(274, 81%, 86%)
CMYKcmyk(10%, 23%, 0%, 3%)
LABlab(81.5 22.2 -24.3)
LCHlch(81.5 32.9 312.5)
OKLCHoklch(0.849 0.086 310.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green74.5%
Blue97.3%

CMYK percentages

Cyan10.1%
Magenta23.4%
Yellow0.0%
Key (black)2.7%

Color previews

#dfbef8 text on a black background

contrast 12.86:1

Card sample

#dfbef8 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbef8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbef8 in the Color Lab