Skip to content

#df92f7

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

RGB
223, 146, 247
HSL
286°, 86%, 77%
CMYK
10, 41, 0, 3
Luminance
0.4296

Every format

HEX#df92f7
RGBrgb(223, 146, 247)
HSLhsl(286, 86%, 77%)
CMYKcmyk(10%, 41%, 0%, 3%)
LABlab(71.5 45.6 -39.0)
LCHlch(71.5 60.0 319.4)
OKLCHoklch(0.773 0.160 317.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df92f7 on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#df92f7 on black: 9.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green57.3%
Blue96.9%

CMYK percentages

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

Color previews

#df92f7 text on a black background

contrast 9.59:1

Card sample

#df92f7 text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df92f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df92f7 in the Color Lab