Skip to content

#dfb1f4

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

RGB
223, 177, 244
HSL
281°, 75%, 83%
CMYK
9, 28, 0, 4
Luminance
0.5366

Every format

HEX#dfb1f4
RGBrgb(223, 177, 244)
HSLhsl(281, 75%, 83%)
CMYKcmyk(9%, 28%, 0%, 4%)
LABlab(78.3 28.4 -27.0)
LCHlch(78.3 39.2 316.5)
OKLCHoklch(0.824 0.104 315.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb1f4 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#dfb1f4 on black: 11.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.4%
Blue95.7%

CMYK percentages

Cyan8.6%
Magenta27.5%
Yellow0.0%
Key (black)4.3%

Color previews

#dfb1f4 text on a black background

contrast 11.73:1

Card sample

#dfb1f4 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb1f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb1f4 in the Color Lab