Skip to content

#df9cfb

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

RGB
223, 156, 251
HSL
282°, 92%, 80%
CMYK
11, 38, 0, 2
Luminance
0.4643

Every format

HEX#df9cfb
RGBrgb(223, 156, 251)
HSLhsl(282, 92%, 80%)
CMYKcmyk(11%, 38%, 0%, 2%)
LABlab(73.8 41.1 -37.6)
LCHlch(73.8 55.7 317.5)
OKLCHoklch(0.791 0.148 315.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9cfb on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#df9cfb on black: 10.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green61.2%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta37.8%
Yellow0.0%
Key (black)1.6%

Color previews

#df9cfb text on a black background

contrast 10.29:1

Card sample

#df9cfb text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9cfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9cfb in the Color Lab