Skip to content

#dfb2fb

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

RGB
223, 178, 251
HSL
277°, 90%, 84%
CMYK
11, 29, 0, 2
Luminance
0.5449

Every format

HEX#dfb2fb
RGBrgb(223, 178, 251)
HSLhsl(277, 90%, 84%)
CMYKcmyk(11%, 29%, 0%, 2%)
LABlab(78.8 29.3 -30.0)
LCHlch(78.8 41.9 314.3)
OKLCHoklch(0.828 0.111 312.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb2fb on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#dfb2fb on black: 11.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#dfb2fb text on a black background

contrast 11.90:1

Card sample

#dfb2fb text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb2fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb2fb in the Color Lab