Skip to content

#df9ff1

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

RGB
223, 159, 241
HSL
287°, 75%, 78%
CMYK
8, 34, 0, 6
Luminance
0.4684

Every format

HEX#df9ff1
RGBrgb(223, 159, 241)
HSLhsl(287, 75%, 78%)
CMYKcmyk(8%, 34%, 0%, 6%)
LABlab(74.1 37.5 -31.8)
LCHlch(74.1 49.2 319.7)
OKLCHoklch(0.792 0.132 318.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9ff1 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#df9ff1 on black: 10.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green62.4%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta34.0%
Yellow0.0%
Key (black)5.5%

Color previews

#df9ff1 text on a black background

contrast 10.37:1

Card sample

#df9ff1 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9ff1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9ff1 in the Color Lab