Skip to content

#df92f1

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

RGB
223, 146, 241
HSL
289°, 77%, 76%
CMYK
8, 39, 0, 6
Luminance
0.4260

Every format

HEX#df92f1
RGBrgb(223, 146, 241)
HSLhsl(289, 77%, 76%)
CMYKcmyk(8%, 39%, 0%, 6%)
LABlab(71.3 44.4 -36.1)
LCHlch(71.3 57.2 320.9)
OKLCHoklch(0.770 0.154 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df92f1 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#df92f1 on black: 9.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green57.3%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta39.4%
Yellow0.0%
Key (black)5.5%

Color previews

#df92f1 text on a black background

contrast 9.52:1

Card sample

#df92f1 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df92f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df92f1 in the Color Lab