Skip to content

#dfbef2

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

RGB
223, 190, 242
HSL
278°, 67%, 85%
CMYK
8, 22, 0, 5
Luminance
0.5893

Every format

HEX#dfbef2
RGBrgb(223, 190, 242)
HSLhsl(278, 67%, 85%)
CMYKcmyk(8%, 22%, 0%, 5%)
LABlab(81.3 21.0 -21.4)
LCHlch(81.3 30.0 314.6)
OKLCHoklch(0.847 0.079 313.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green74.5%
Blue94.9%

CMYK percentages

Cyan7.9%
Magenta21.5%
Yellow0.0%
Key (black)5.1%

Color previews

#dfbef2 text on a black background

contrast 12.79:1

Card sample

#dfbef2 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbef2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbef2 in the Color Lab