Skip to content

#dfb3ed

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

RGB
223, 179, 237
HSL
286°, 62%, 82%
CMYK
6, 25, 0, 7
Luminance
0.5404

Every format

HEX#dfb3ed
RGBrgb(223, 179, 237)
HSLhsl(286, 62%, 82%)
CMYKcmyk(6%, 25%, 0%, 7%)
LABlab(78.5 26.0 -22.9)
LCHlch(78.5 34.6 318.6)
OKLCHoklch(0.825 0.092 317.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb3ed on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#dfb3ed on black: 11.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green70.2%
Blue92.9%

CMYK percentages

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

Color previews

#dfb3ed text on a black background

contrast 11.81:1

Card sample

#dfb3ed text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb3ed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb3ed in the Color Lab