Skip to content

#dfb5ff

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

RGB
223, 181, 255
HSL
274°, 100%, 86%
CMYK
13, 29, 0, 0
Luminance
0.5596

Every format

HEX#dfb5ff
RGBrgb(223, 181, 255)
HSLhsl(274, 100%, 86%)
CMYKcmyk(13%, 29%, 0%, 0%)
LABlab(79.6 28.5 -30.9)
LCHlch(79.6 42.0 312.7)
OKLCHoklch(0.835 0.110 310.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan12.5%
Magenta29.0%
Yellow0.0%
Key (black)0.0%

Color previews

#dfb5ff text on a black background

contrast 12.19:1

Card sample

#dfb5ff text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb5ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb5ff in the Color Lab