Skip to content

#df9dfb

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

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

Every format

HEX#df9dfb
RGBrgb(223, 157, 251)
HSLhsl(282, 92%, 80%)
CMYKcmyk(11%, 38%, 0%, 2%)
LABlab(74.0 40.6 -37.3)
LCHlch(74.0 55.1 317.4)
OKLCHoklch(0.792 0.146 315.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green61.6%
Blue98.4%

CMYK percentages

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

Color previews

#df9dfb text on a black background

contrast 10.35:1

Card sample

#df9dfb text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9dfb in the Color Lab