Skip to content

#df9cf6

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

RGB
223, 156, 246
HSL
285°, 83%, 79%
CMYK
9, 37, 0, 4
Luminance
0.4612

Every format

HEX#df9cf6
RGBrgb(223, 156, 246)
HSLhsl(285, 83%, 79%)
CMYKcmyk(9%, 37%, 0%, 4%)
LABlab(73.6 40.1 -35.2)
LCHlch(73.6 53.4 318.7)
OKLCHoklch(0.789 0.142 317.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green61.2%
Blue96.5%

CMYK percentages

Cyan9.3%
Magenta36.6%
Yellow0.0%
Key (black)3.5%

Color previews

#df9cf6 text on a black background

contrast 10.22:1

Card sample

#df9cf6 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9cf6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9cf6 in the Color Lab