Skip to content

#dfbfec

a light, vivid violet · warm · closest name: plum

RGB
223, 191, 236
HSL
283°, 54%, 84%
CMYK
6, 19, 0, 8
Luminance
0.5901

Every format

HEX#dfbfec
RGBrgb(223, 191, 236)
HSLhsl(283, 54%, 84%)
CMYKcmyk(6%, 19%, 0%, 8%)
LABlab(81.3 19.3 -18.1)
LCHlch(81.3 26.5 316.9)
OKLCHoklch(0.846 0.070 316.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbfec on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#dfbfec on black: 12.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.9%
Blue92.5%

CMYK percentages

Cyan5.5%
Magenta19.1%
Yellow0.0%
Key (black)7.5%

Color previews

#dfbfec text on a black background

contrast 12.80:1

Card sample

#dfbfec text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbfec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbfec in the Color Lab