Skip to content

#df5ffc

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

RGB
223, 95, 252
HSL
289°, 96%, 68%
CMYK
12, 62, 0, 1
Luminance
0.3090

Every format

HEX#df5ffc
RGBrgb(223, 95, 252)
HSLhsl(289, 96%, 68%)
CMYKcmyk(12%, 62%, 0%, 1%)
LABlab(62.4 71.1 -56.1)
LCHlch(62.4 90.6 321.7)
OKLCHoklch(0.707 0.242 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df5ffc on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#df5ffc on black: 7.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green37.3%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta62.3%
Yellow0.0%
Key (black)1.2%

Color previews

#df5ffc text on a black background

contrast 7.18:1

Card sample

#df5ffc text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df5ffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df5ffc in the Color Lab