Skip to content

#dfb7f3

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

RGB
223, 183, 243
HSL
280°, 71%, 84%
CMYK
8, 25, 0, 5
Luminance
0.5603

Every format

HEX#dfb7f3
RGBrgb(223, 183, 243)
HSLhsl(280, 71%, 84%)
CMYKcmyk(8%, 25%, 0%, 5%)
LABlab(79.6 25.0 -24.4)
LCHlch(79.6 34.9 315.7)
OKLCHoklch(0.834 0.092 314.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb7f3 on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#dfb7f3 on black: 12.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.8%
Blue95.3%

CMYK percentages

Cyan8.2%
Magenta24.7%
Yellow0.0%
Key (black)4.7%

Color previews

#dfb7f3 text on a black background

contrast 12.21:1

Card sample

#dfb7f3 text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb7f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb7f3 in the Color Lab