Skip to content

#dfb2fe

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

RGB
223, 178, 254
HSL
276°, 97%, 85%
CMYK
12, 30, 0, 0
Luminance
0.5468

Every format

HEX#dfb2fe
RGBrgb(223, 178, 254)
HSLhsl(276, 97%, 85%)
CMYKcmyk(12%, 30%, 0%, 0%)
LABlab(78.9 29.9 -31.4)
LCHlch(78.9 43.4 313.6)
OKLCHoklch(0.830 0.114 311.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.8%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta29.9%
Yellow0.0%
Key (black)0.4%

Color previews

#dfb2fe text on a black background

contrast 11.94:1

Card sample

#dfb2fe text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb2fe in the Color Lab