Skip to content

#df94f7

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

RGB
223, 148, 247
HSL
286°, 86%, 78%
CMYK
10, 40, 0, 3
Luminance
0.4358

Every format

HEX#df94f7
RGBrgb(223, 148, 247)
HSLhsl(286, 86%, 78%)
CMYKcmyk(10%, 40%, 0%, 3%)
LABlab(72.0 44.5 -38.4)
LCHlch(72.0 58.8 319.3)
OKLCHoklch(0.776 0.157 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df94f7 on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#df94f7 on black: 9.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green58.0%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta40.1%
Yellow0.0%
Key (black)3.1%

Color previews

#df94f7 text on a black background

contrast 9.72:1

Card sample

#df94f7 text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df94f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df94f7 in the Color Lab