Skip to content

#dfb3ff

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

RGB
223, 179, 255
HSL
275°, 100%, 85%
CMYK
13, 30, 0, 0
Luminance
0.5515

Every format

HEX#dfb3ff
RGBrgb(223, 179, 255)
HSLhsl(275, 100%, 85%)
CMYKcmyk(13%, 30%, 0%, 0%)
LABlab(79.1 29.6 -31.6)
LCHlch(79.1 43.3 313.1)
OKLCHoklch(0.832 0.114 310.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb3ff on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#dfb3ff on black: 12.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green70.2%
Blue100.0%

CMYK percentages

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

Color previews

#dfb3ff text on a black background

contrast 12.03:1

Card sample

#dfb3ff text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb3ff in the Color Lab