Skip to content

#df97e2

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

RGB
223, 151, 226
HSL
298°, 56%, 74%
CMYK
1, 33, 0, 11
Luminance
0.4331

Every format

HEX#df97e2
RGBrgb(223, 151, 226)
HSLhsl(298, 56%, 74%)
CMYKcmyk(1%, 33%, 0%, 11%)
LABlab(71.8 38.9 -27.2)
LCHlch(71.8 47.5 325.1)
OKLCHoklch(0.772 0.130 325.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df97e2 on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#df97e2 on black: 9.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green59.2%
Blue88.6%

CMYK percentages

Cyan1.3%
Magenta33.2%
Yellow0.0%
Key (black)11.4%

Color previews

#df97e2 text on a black background

contrast 9.66:1

Card sample

#df97e2 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df97e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df97e2 in the Color Lab