Skip to content

#dfb0fe

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

RGB
223, 176, 254
HSL
276°, 98%, 84%
CMYK
12, 31, 0, 0
Luminance
0.5389

Every format

HEX#dfb0fe
RGBrgb(223, 176, 254)
HSLhsl(276, 98%, 84%)
CMYKcmyk(12%, 31%, 0%, 0%)
LABlab(78.4 31.0 -32.1)
LCHlch(78.4 44.6 313.9)
OKLCHoklch(0.826 0.117 311.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.0%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta30.7%
Yellow0.0%
Key (black)0.4%

Color previews

#dfb0fe text on a black background

contrast 11.78:1

Card sample

#dfb0fe text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb0fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb0fe in the Color Lab