Skip to content

#dfbafe

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

RGB
223, 186, 254
HSL
273°, 97%, 86%
CMYK
12, 27, 0, 0
Luminance
0.5796

Every format

HEX#dfbafe
RGBrgb(223, 186, 254)
HSLhsl(273, 97%, 86%)
CMYKcmyk(12%, 27%, 0%, 0%)
LABlab(80.7 25.6 -28.6)
LCHlch(80.7 38.4 311.8)
OKLCHoklch(0.844 0.101 309.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbafe on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#dfbafe on black: 12.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.9%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta26.8%
Yellow0.0%
Key (black)0.4%

Color previews

#dfbafe text on a black background

contrast 12.59:1

Card sample

#dfbafe text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbafe in the Color Lab