Skip to content

#df78ff

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

RGB
223, 120, 255
HSL
286°, 100%, 74%
CMYK
13, 53, 0, 0
Luminance
0.3634

Every format

HEX#df78ff
RGBrgb(223, 120, 255)
HSLhsl(286, 100%, 74%)
CMYKcmyk(13%, 53%, 0%, 0%)
LABlab(66.8 60.3 -50.8)
LCHlch(66.8 78.9 319.9)
OKLCHoklch(0.739 0.210 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df78ff on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#df78ff on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green47.1%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta52.9%
Yellow0.0%
Key (black)0.0%

Color previews

#df78ff text on a black background

contrast 8.27:1

Card sample

#df78ff text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df78ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df78ff in the Color Lab