Skip to content

#dfb6fe

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

RGB
223, 182, 254
HSL
274°, 97%, 86%
CMYK
12, 28, 0, 0
Luminance
0.5630

Every format

HEX#dfb6fe
RGBrgb(223, 182, 254)
HSLhsl(274, 97%, 86%)
CMYKcmyk(12%, 28%, 0%, 0%)
LABlab(79.8 27.8 -30.0)
LCHlch(79.8 40.9 312.8)
OKLCHoklch(0.837 0.107 310.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb6fe on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#dfb6fe on black: 12.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.4%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta28.3%
Yellow0.0%
Key (black)0.4%

Color previews

#dfb6fe text on a black background

contrast 12.26:1

Card sample

#dfb6fe text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb6fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb6fe in the Color Lab