Skip to content

#df9cf9

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

RGB
223, 156, 249
HSL
283°, 89%, 79%
CMYK
10, 37, 0, 2
Luminance
0.4630

Every format

HEX#df9cf9
RGBrgb(223, 156, 249)
HSLhsl(283, 89%, 79%)
CMYKcmyk(10%, 37%, 0%, 2%)
LABlab(73.7 40.7 -36.7)
LCHlch(73.7 54.8 318.0)
OKLCHoklch(0.790 0.146 316.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9cf9 on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#df9cf9 on black: 10.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green61.2%
Blue97.6%

CMYK percentages

Cyan10.4%
Magenta37.3%
Yellow0.0%
Key (black)2.4%

Color previews

#df9cf9 text on a black background

contrast 10.26:1

Card sample

#df9cf9 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9cf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9cf9 in the Color Lab