Skip to content

#dfbfed

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

RGB
223, 191, 237
HSL
282°, 56%, 84%
CMYK
6, 19, 0, 7
Luminance
0.5906

Every format

HEX#dfbfed
RGBrgb(223, 191, 237)
HSLhsl(282, 56%, 84%)
CMYKcmyk(6%, 19%, 0%, 7%)
LABlab(81.3 19.5 -18.6)
LCHlch(81.3 26.9 316.4)
OKLCHoklch(0.847 0.072 315.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan5.9%
Magenta19.4%
Yellow0.0%
Key (black)7.1%

Color previews

#dfbfed text on a black background

contrast 12.81:1

Card sample

#dfbfed text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbfed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbfed in the Color Lab