Skip to content

#df7dfb

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

RGB
223, 125, 251
HSL
287°, 94%, 74%
CMYK
11, 50, 0, 2
Luminance
0.3732

Every format

HEX#df7dfb
RGBrgb(223, 125, 251)
HSLhsl(287, 94%, 74%)
CMYKcmyk(11%, 50%, 0%, 2%)
LABlab(67.5 57.1 -47.5)
LCHlch(67.5 74.3 320.3)
OKLCHoklch(0.744 0.198 318.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df7dfb on white: 2.48:1
AA ✗ fail · AA-large · AAA
Aa
#df7dfb on black: 8.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green49.0%
Blue98.4%

CMYK percentages

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

Color previews

#df7dfb text on a black background

contrast 8.46:1

Card sample

#df7dfb text on a white background

contrast 2.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df7dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df7dfb in the Color Lab