Skip to content

#df5ffb

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

RGB
223, 95, 251
HSL
289°, 95%, 68%
CMYK
11, 62, 0, 2
Luminance
0.3084

Every format

HEX#df5ffb
RGBrgb(223, 95, 251)
HSLhsl(289, 95%, 68%)
CMYKcmyk(11%, 62%, 0%, 2%)
LABlab(62.4 71.0 -55.6)
LCHlch(62.4 90.2 321.9)
OKLCHoklch(0.706 0.242 320.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df5ffb on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#df5ffb on black: 7.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green37.3%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta62.2%
Yellow0.0%
Key (black)1.6%

Color previews

#df5ffb text on a black background

contrast 7.17:1

Card sample

#df5ffb text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df5ffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df5ffb in the Color Lab