Skip to content

#df91ff

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

RGB
223, 145, 255
HSL
283°, 100%, 78%
CMYK
13, 43, 0, 0
Luminance
0.4316

Every format

HEX#df91ff
RGBrgb(223, 145, 255)
HSLhsl(283, 100%, 78%)
CMYKcmyk(13%, 43%, 0%, 0%)
LABlab(71.7 47.7 -43.1)
LCHlch(71.7 64.3 317.9)
OKLCHoklch(0.775 0.170 315.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green56.9%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta43.1%
Yellow0.0%
Key (black)0.0%

Color previews

#df91ff text on a black background

contrast 9.63:1

Card sample

#df91ff text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df91ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df91ff in the Color Lab