Skip to content

#dfb8ff

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

RGB
223, 184, 255
HSL
273°, 100%, 86%
CMYK
13, 28, 0, 0
Luminance
0.5719

Every format

HEX#dfb8ff
RGBrgb(223, 184, 255)
HSLhsl(273, 100%, 86%)
CMYKcmyk(13%, 28%, 0%, 0%)
LABlab(80.3 26.9 -29.8)
LCHlch(80.3 40.1 312.1)
OKLCHoklch(0.841 0.105 309.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb8ff on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#dfb8ff on black: 12.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.2%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta27.8%
Yellow0.0%
Key (black)0.0%

Color previews

#dfb8ff text on a black background

contrast 12.44:1

Card sample

#dfb8ff text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb8ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb8ff in the Color Lab