Skip to content

#df66ff

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

RGB
223, 102, 255
HSL
288°, 100%, 70%
CMYK
13, 60, 0, 0
Luminance
0.3241

Every format

HEX#df66ff
RGBrgb(223, 102, 255)
HSLhsl(288, 100%, 70%)
CMYKcmyk(13%, 60%, 0%, 0%)
LABlab(63.7 68.7 -55.7)
LCHlch(63.7 88.5 320.9)
OKLCHoklch(0.716 0.236 318.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df66ff on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#df66ff on black: 7.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green40.0%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta60.0%
Yellow0.0%
Key (black)0.0%

Color previews

#df66ff text on a black background

contrast 7.48:1

Card sample

#df66ff text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df66ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df66ff in the Color Lab