Skip to content

#dfbafc

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

RGB
223, 186, 252
HSL
274°, 92%, 86%
CMYK
12, 26, 0, 1
Luminance
0.5783

Every format

HEX#dfbafc
RGBrgb(223, 186, 252)
HSLhsl(274, 92%, 86%)
CMYKcmyk(12%, 26%, 0%, 1%)
LABlab(80.7 25.2 -27.6)
LCHlch(80.7 37.4 312.3)
OKLCHoklch(0.843 0.098 309.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green72.9%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta26.2%
Yellow0.0%
Key (black)1.2%

Color previews

#dfbafc text on a black background

contrast 12.57:1

Card sample

#dfbafc text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbafc in the Color Lab