Skip to content

#df9ff7

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

RGB
223, 159, 247
HSL
284°, 85%, 80%
CMYK
10, 36, 0, 3
Luminance
0.4720

Every format

HEX#df9ff7
RGBrgb(223, 159, 247)
HSLhsl(284, 85%, 80%)
CMYKcmyk(10%, 36%, 0%, 3%)
LABlab(74.3 38.7 -34.7)
LCHlch(74.3 52.0 318.1)
OKLCHoklch(0.794 0.138 316.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9ff7 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#df9ff7 on black: 10.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green62.4%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta35.6%
Yellow0.0%
Key (black)3.1%

Color previews

#df9ff7 text on a black background

contrast 10.44:1

Card sample

#df9ff7 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9ff7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9ff7 in the Color Lab