Skip to content

#dfbaf7

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

RGB
223, 186, 247
HSL
276°, 79%, 85%
CMYK
10, 25, 0, 3
Luminance
0.5752

Every format

HEX#dfbaf7
RGBrgb(223, 186, 247)
HSLhsl(276, 79%, 85%)
CMYKcmyk(10%, 25%, 0%, 3%)
LABlab(80.5 24.2 -25.2)
LCHlch(80.5 35.0 313.8)
OKLCHoklch(0.841 0.092 311.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbaf7 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#dfbaf7 on black: 12.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.9%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta24.7%
Yellow0.0%
Key (black)3.1%

Color previews

#dfbaf7 text on a black background

contrast 12.50:1

Card sample

#dfbaf7 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbaf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbaf7 in the Color Lab