Skip to content

#dfb2fc

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

RGB
223, 178, 252
HSL
277°, 93%, 84%
CMYK
12, 29, 0, 1
Luminance
0.5456

Every format

HEX#dfb2fc
RGBrgb(223, 178, 252)
HSLhsl(277, 93%, 84%)
CMYKcmyk(12%, 29%, 0%, 1%)
LABlab(78.8 29.5 -30.5)
LCHlch(78.8 42.4 314.1)
OKLCHoklch(0.829 0.112 311.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb2fc on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#dfb2fc on black: 11.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.8%
Blue98.8%

CMYK percentages

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

Color previews

#dfb2fc text on a black background

contrast 11.91:1

Card sample

#dfb2fc text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb2fc in the Color Lab