Skip to content

#dfb4fc

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

RGB
223, 180, 252
HSL
276°, 92%, 85%
CMYK
12, 29, 0, 1
Luminance
0.5536

Every format

HEX#dfb4fc
RGBrgb(223, 180, 252)
HSLhsl(276, 92%, 85%)
CMYKcmyk(12%, 29%, 0%, 1%)
LABlab(79.3 28.4 -29.8)
LCHlch(79.3 41.2 313.7)
OKLCHoklch(0.832 0.108 311.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb4fc on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#dfb4fc on black: 12.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green70.6%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta28.6%
Yellow0.0%
Key (black)1.2%

Color previews

#dfb4fc text on a black background

contrast 12.07:1

Card sample

#dfb4fc text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb4fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb4fc in the Color Lab