Skip to content

#dfb7ed

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

RGB
223, 183, 237
HSL
284°, 60%, 82%
CMYK
6, 23, 0, 7
Luminance
0.5567

Every format

HEX#dfb7ed
RGBrgb(223, 183, 237)
HSLhsl(284, 60%, 82%)
CMYKcmyk(6%, 23%, 0%, 7%)
LABlab(79.4 23.8 -21.4)
LCHlch(79.4 32.0 318.0)
OKLCHoklch(0.832 0.086 317.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb7ed on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#dfb7ed on black: 12.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.8%
Blue92.9%

CMYK percentages

Cyan5.9%
Magenta22.8%
Yellow0.0%
Key (black)7.1%

Color previews

#dfb7ed text on a black background

contrast 12.13:1

Card sample

#dfb7ed text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb7ed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb7ed in the Color Lab