Skip to content

#df9bfc

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

RGB
223, 155, 252
HSL
282°, 94%, 80%
CMYK
12, 39, 0, 1
Luminance
0.4616

Every format

HEX#df9bfc
RGBrgb(223, 155, 252)
HSLhsl(282, 94%, 80%)
CMYKcmyk(12%, 39%, 0%, 1%)
LABlab(73.7 41.8 -38.4)
LCHlch(73.7 56.8 317.4)
OKLCHoklch(0.790 0.151 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green60.8%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta38.5%
Yellow0.0%
Key (black)1.2%

Color previews

#df9bfc text on a black background

contrast 10.23:1

Card sample

#df9bfc text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9bfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9bfc in the Color Lab