Skip to content

#df6aff

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

RGB
223, 106, 255
HSL
287°, 100%, 71%
CMYK
13, 58, 0, 0
Luminance
0.3322

Every format

HEX#df6aff
RGBrgb(223, 106, 255)
HSLhsl(287, 100%, 71%)
CMYKcmyk(13%, 58%, 0%, 0%)
LABlab(64.3 66.9 -54.7)
LCHlch(64.3 86.4 320.7)
OKLCHoklch(0.721 0.230 318.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df6aff on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#df6aff on black: 7.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green41.6%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta58.4%
Yellow0.0%
Key (black)0.0%

Color previews

#df6aff text on a black background

contrast 7.64:1

Card sample

#df6aff text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df6aff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df6aff in the Color Lab