Skip to content

#dfbef3

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

RGB
223, 190, 243
HSL
277°, 69%, 85%
CMYK
8, 22, 0, 5
Luminance
0.5899

Every format

HEX#dfbef3
RGBrgb(223, 190, 243)
HSLhsl(277, 69%, 85%)
CMYKcmyk(8%, 22%, 0%, 5%)
LABlab(81.3 21.2 -21.9)
LCHlch(81.3 30.5 314.2)
OKLCHoklch(0.847 0.080 312.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green74.5%
Blue95.3%

CMYK percentages

Cyan8.2%
Magenta21.8%
Yellow0.0%
Key (black)4.7%

Color previews

#dfbef3 text on a black background

contrast 12.80:1

Card sample

#dfbef3 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbef3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbef3 in the Color Lab