Skip to content

#dfbcf5

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

RGB
223, 188, 245
HSL
277°, 74%, 85%
CMYK
9, 23, 0, 4
Luminance
0.5825

Every format

HEX#dfbcf5
RGBrgb(223, 188, 245)
HSLhsl(277, 74%, 85%)
CMYKcmyk(9%, 23%, 0%, 4%)
LABlab(80.9 22.7 -23.5)
LCHlch(80.9 32.7 314.0)
OKLCHoklch(0.844 0.086 312.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbcf5 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#dfbcf5 on black: 12.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green73.7%
Blue96.1%

CMYK percentages

Cyan9.0%
Magenta23.3%
Yellow0.0%
Key (black)3.9%

Color previews

#dfbcf5 text on a black background

contrast 12.65:1

Card sample

#dfbcf5 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbcf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbcf5 in the Color Lab