Skip to content

#dfb7fc

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

RGB
223, 183, 252
HSL
275°, 92%, 85%
CMYK
12, 27, 0, 1
Luminance
0.5658

Every format

HEX#dfb7fc
RGBrgb(223, 183, 252)
HSLhsl(275, 92%, 85%)
CMYKcmyk(12%, 27%, 0%, 1%)
LABlab(79.9 26.8 -28.7)
LCHlch(79.9 39.3 313.0)
OKLCHoklch(0.838 0.103 310.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green71.8%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta27.4%
Yellow0.0%
Key (black)1.2%

Color previews

#dfb7fc text on a black background

contrast 12.32:1

Card sample

#dfb7fc text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb7fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb7fc in the Color Lab