Skip to content

#df9bf3

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

RGB
223, 155, 243
HSL
286°, 79%, 78%
CMYK
8, 36, 0, 5
Luminance
0.4560

Every format

HEX#df9bf3
RGBrgb(223, 155, 243)
HSLhsl(286, 79%, 78%)
CMYKcmyk(8%, 36%, 0%, 5%)
LABlab(73.3 40.0 -34.1)
LCHlch(73.3 52.6 319.6)
OKLCHoklch(0.786 0.141 318.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9bf3 on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#df9bf3 on black: 10.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green60.8%
Blue95.3%

CMYK percentages

Cyan8.2%
Magenta36.2%
Yellow0.0%
Key (black)4.7%

Color previews

#df9bf3 text on a black background

contrast 10.12:1

Card sample

#df9bf3 text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9bf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9bf3 in the Color Lab