Skip to content

#dfb8f1

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

RGB
223, 184, 241
HSL
281°, 67%, 83%
CMYK
8, 24, 0, 6
Luminance
0.5632

Every format

HEX#dfb8f1
RGBrgb(223, 184, 241)
HSLhsl(281, 67%, 83%)
CMYKcmyk(8%, 24%, 0%, 6%)
LABlab(79.8 24.1 -23.0)
LCHlch(79.8 33.3 316.2)
OKLCHoklch(0.835 0.088 315.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb8f1 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#dfb8f1 on black: 12.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.2%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta23.7%
Yellow0.0%
Key (black)5.5%

Color previews

#dfb8f1 text on a black background

contrast 12.26:1

Card sample

#dfb8f1 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb8f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb8f1 in the Color Lab