Skip to content

#df92f9

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

RGB
223, 146, 249
HSL
285°, 90%, 78%
CMYK
10, 41, 0, 2
Luminance
0.4309

Every format

HEX#df92f9
RGBrgb(223, 146, 249)
HSLhsl(285, 90%, 78%)
CMYKcmyk(10%, 41%, 0%, 2%)
LABlab(71.6 46.0 -40.0)
LCHlch(71.6 60.9 319.0)
OKLCHoklch(0.774 0.162 317.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df92f9 on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#df92f9 on black: 9.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green57.3%
Blue97.6%

CMYK percentages

Cyan10.4%
Magenta41.4%
Yellow0.0%
Key (black)2.4%

Color previews

#df92f9 text on a black background

contrast 9.62:1

Card sample

#df92f9 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df92f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df92f9 in the Color Lab