Skip to content

#dfb2ee

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

RGB
223, 178, 238
HSL
285°, 64%, 82%
CMYK
6, 25, 0, 7
Luminance
0.5370

Every format

HEX#dfb2ee
RGBrgb(223, 178, 238)
HSLhsl(285, 64%, 82%)
CMYKcmyk(6%, 25%, 0%, 7%)
LABlab(78.3 26.7 -23.7)
LCHlch(78.3 35.7 318.4)
OKLCHoklch(0.823 0.095 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb2ee on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#dfb2ee on black: 11.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.8%
Blue93.3%

CMYK percentages

Cyan6.3%
Magenta25.2%
Yellow0.0%
Key (black)6.7%

Color previews

#dfb2ee text on a black background

contrast 11.74:1

Card sample

#dfb2ee text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb2ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb2ee in the Color Lab