Skip to content

#dfb1fb

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

RGB
223, 177, 251
HSL
277°, 90%, 84%
CMYK
11, 30, 0, 2
Luminance
0.5410

Every format

HEX#dfb1fb
RGBrgb(223, 177, 251)
HSLhsl(277, 90%, 84%)
CMYKcmyk(11%, 30%, 0%, 2%)
LABlab(78.5 29.8 -30.4)
LCHlch(78.5 42.6 314.5)
OKLCHoklch(0.827 0.112 312.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.4%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta29.5%
Yellow0.0%
Key (black)1.6%

Color previews

#dfb1fb text on a black background

contrast 11.82:1

Card sample

#dfb1fb text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb1fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb1fb in the Color Lab