Skip to content

#dfb8fc

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

RGB
223, 184, 252
HSL
274°, 92%, 86%
CMYK
12, 27, 0, 1
Luminance
0.5700

Every format

HEX#dfb8fc
RGBrgb(223, 184, 252)
HSLhsl(274, 92%, 86%)
CMYKcmyk(12%, 27%, 0%, 1%)
LABlab(80.2 26.3 -28.4)
LCHlch(80.2 38.6 312.8)
OKLCHoklch(0.839 0.102 310.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green72.2%
Blue98.8%

CMYK percentages

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

Color previews

#dfb8fc text on a black background

contrast 12.40:1

Card sample

#dfb8fc text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb8fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb8fc in the Color Lab