Skip to content

#df92f0

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

RGB
223, 146, 240
HSL
289°, 76%, 76%
CMYK
7, 39, 0, 6
Luminance
0.4254

Every format

HEX#df92f0
RGBrgb(223, 146, 240)
HSLhsl(289, 76%, 76%)
CMYKcmyk(7%, 39%, 0%, 6%)
LABlab(71.2 44.2 -35.6)
LCHlch(71.2 56.8 321.1)
OKLCHoklch(0.770 0.153 320.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan7.1%
Magenta39.2%
Yellow0.0%
Key (black)5.9%

Color previews

#df92f0 text on a black background

contrast 9.51:1

Card sample

#df92f0 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df92f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df92f0 in the Color Lab