Skip to content

#dfb3f1

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

RGB
223, 179, 241
HSL
283°, 69%, 82%
CMYK
8, 26, 0, 6
Luminance
0.5428

Every format

HEX#dfb3f1
RGBrgb(223, 179, 241)
HSLhsl(283, 69%, 82%)
CMYKcmyk(8%, 26%, 0%, 6%)
LABlab(78.6 26.8 -24.8)
LCHlch(78.6 36.5 317.2)
OKLCHoklch(0.826 0.097 316.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb3f1 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#dfb3f1 on black: 11.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green70.2%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta25.7%
Yellow0.0%
Key (black)5.5%

Color previews

#dfb3f1 text on a black background

contrast 11.86:1

Card sample

#dfb3f1 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb3f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb3f1 in the Color Lab