Skip to content

#dfb2ed

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

RGB
223, 178, 237
HSL
286°, 62%, 81%
CMYK
6, 25, 0, 7
Luminance
0.5364

Every format

HEX#dfb2ed
RGBrgb(223, 178, 237)
HSLhsl(286, 62%, 81%)
CMYKcmyk(6%, 25%, 0%, 7%)
LABlab(78.3 26.5 -23.2)
LCHlch(78.3 35.3 318.8)
OKLCHoklch(0.823 0.094 318.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.8%
Blue92.9%

CMYK percentages

Cyan5.9%
Magenta24.9%
Yellow0.0%
Key (black)7.1%

Color previews

#dfb2ed text on a black background

contrast 11.73:1

Card sample

#dfb2ed text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb2ed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb2ed in the Color Lab