Skip to content

#dfb6ff

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

RGB
223, 182, 255
HSL
274°, 100%, 86%
CMYK
13, 29, 0, 0
Luminance
0.5636

Every format

HEX#dfb6ff
RGBrgb(223, 182, 255)
HSLhsl(274, 100%, 86%)
CMYKcmyk(13%, 29%, 0%, 0%)
LABlab(79.8 28.0 -30.5)
LCHlch(79.8 41.4 312.5)
OKLCHoklch(0.837 0.109 309.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb6ff on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#dfb6ff on black: 12.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.4%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta28.6%
Yellow0.0%
Key (black)0.0%

Color previews

#dfb6ff text on a black background

contrast 12.27:1

Card sample

#dfb6ff text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb6ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb6ff in the Color Lab