Skip to content

#df97f0

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

RGB
223, 151, 240
HSL
289°, 75%, 77%
CMYK
7, 37, 0, 6
Luminance
0.4411

Every format

HEX#df97f0
RGBrgb(223, 151, 240)
HSLhsl(289, 75%, 77%)
CMYKcmyk(7%, 37%, 0%, 6%)
LABlab(72.3 41.6 -34.0)
LCHlch(72.3 53.7 320.7)
OKLCHoklch(0.778 0.144 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df97f0 on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#df97f0 on black: 9.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green59.2%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta37.1%
Yellow0.0%
Key (black)5.9%

Color previews

#df97f0 text on a black background

contrast 9.82:1

Card sample

#df97f0 text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df97f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df97f0 in the Color Lab