Skip to content

#df91f0

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

RGB
223, 145, 240
HSL
289°, 76%, 76%
CMYK
7, 40, 0, 6
Luminance
0.4223

Every format

HEX#df91f0
RGBrgb(223, 145, 240)
HSLhsl(289, 76%, 76%)
CMYKcmyk(7%, 40%, 0%, 6%)
LABlab(71.0 44.7 -36.0)
LCHlch(71.0 57.4 321.2)
OKLCHoklch(0.768 0.154 320.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df91f0 on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#df91f0 on black: 9.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green56.9%
Blue94.1%

CMYK percentages

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

Color previews

#df91f0 text on a black background

contrast 9.45:1

Card sample

#df91f0 text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df91f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df91f0 in the Color Lab