Skip to content

#dfb4f1

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

RGB
223, 180, 241
HSL
282°, 69%, 83%
CMYK
8, 25, 0, 6
Luminance
0.5468

Every format

HEX#dfb4f1
RGBrgb(223, 180, 241)
HSLhsl(282, 69%, 83%)
CMYKcmyk(8%, 25%, 0%, 6%)
LABlab(78.9 26.2 -24.5)
LCHlch(78.9 35.9 317.0)
OKLCHoklch(0.828 0.095 315.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb4f1 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#dfb4f1 on black: 11.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green70.6%
Blue94.5%

CMYK percentages

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

Color previews

#dfb4f1 text on a black background

contrast 11.94:1

Card sample

#dfb4f1 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb4f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb4f1 in the Color Lab