Skip to content

#df9fe2

a light, vivid magenta / pink · warm · closest name: plum

RGB
223, 159, 226
HSL
297°, 54%, 76%
CMYK
1, 30, 0, 11
Luminance
0.4598

Every format

HEX#df9fe2
RGBrgb(223, 159, 226)
HSLhsl(297, 54%, 76%)
CMYKcmyk(1%, 30%, 0%, 11%)
LABlab(73.5 34.6 -24.5)
LCHlch(73.5 42.4 324.8)
OKLCHoklch(0.785 0.116 325.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9fe2 on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#df9fe2 on black: 10.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green62.4%
Blue88.6%

CMYK percentages

Cyan1.3%
Magenta29.6%
Yellow0.0%
Key (black)11.4%

Color previews

#df9fe2 text on a black background

contrast 10.20:1

Card sample

#df9fe2 text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9fe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9fe2 in the Color Lab