Skip to content

#dfb9f2

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

RGB
223, 185, 242
HSL
280°, 69%, 84%
CMYK
8, 24, 0, 5
Luminance
0.5680

Every format

HEX#dfb9f2
RGBrgb(223, 185, 242)
HSLhsl(280, 69%, 84%)
CMYKcmyk(8%, 24%, 0%, 5%)
LABlab(80.1 23.7 -23.2)
LCHlch(80.1 33.1 315.7)
OKLCHoklch(0.837 0.088 314.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb9f2 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#dfb9f2 on black: 12.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.5%
Blue94.9%

CMYK percentages

Cyan7.9%
Magenta23.6%
Yellow0.0%
Key (black)5.1%

Color previews

#dfb9f2 text on a black background

contrast 12.36:1

Card sample

#dfb9f2 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb9f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb9f2 in the Color Lab