Skip to content

#dfbcf9

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

RGB
223, 188, 249
HSL
274°, 84%, 86%
CMYK
10, 25, 0, 2
Luminance
0.5849

Every format

HEX#dfbcf9
RGBrgb(223, 188, 249)
HSLhsl(274, 84%, 86%)
CMYKcmyk(10%, 25%, 0%, 2%)
LABlab(81.0 23.5 -25.5)
LCHlch(81.0 34.7 312.7)
OKLCHoklch(0.845 0.091 310.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbcf9 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#dfbcf9 on black: 12.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green73.7%
Blue97.6%

CMYK percentages

Cyan10.4%
Magenta24.5%
Yellow0.0%
Key (black)2.4%

Color previews

#dfbcf9 text on a black background

contrast 12.70:1

Card sample

#dfbcf9 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbcf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbcf9 in the Color Lab