Skip to content

#dfb1eb

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

RGB
223, 177, 235
HSL
288°, 59%, 81%
CMYK
5, 25, 0, 8
Luminance
0.5313

Every format

HEX#dfb1eb
RGBrgb(223, 177, 235)
HSLhsl(288, 59%, 81%)
CMYKcmyk(5%, 25%, 0%, 8%)
LABlab(78.0 26.7 -22.6)
LCHlch(78.0 35.0 319.7)
OKLCHoklch(0.820 0.094 319.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb1eb on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#dfb1eb on black: 11.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.4%
Blue92.2%

CMYK percentages

Cyan5.1%
Magenta24.7%
Yellow0.0%
Key (black)7.8%

Color previews

#dfb1eb text on a black background

contrast 11.63:1

Card sample

#dfb1eb text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb1eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb1eb in the Color Lab