Skip to content

#dfb4eb

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

RGB
223, 180, 235
HSL
287°, 58%, 81%
CMYK
5, 23, 0, 8
Luminance
0.5433

Every format

HEX#dfb4eb
RGBrgb(223, 180, 235)
HSLhsl(287, 58%, 81%)
CMYKcmyk(5%, 23%, 0%, 8%)
LABlab(78.7 25.1 -21.6)
LCHlch(78.7 33.0 319.3)
OKLCHoklch(0.826 0.088 318.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb4eb on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#dfb4eb on black: 11.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green70.6%
Blue92.2%

CMYK percentages

Cyan5.1%
Magenta23.4%
Yellow0.0%
Key (black)7.8%

Color previews

#dfb4eb text on a black background

contrast 11.87:1

Card sample

#dfb4eb text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb4eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb4eb in the Color Lab