Skip to content

#df6afd

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

RGB
223, 106, 253
HSL
288°, 97%, 70%
CMYK
12, 58, 0, 1
Luminance
0.3309

Every format

HEX#df6afd
RGBrgb(223, 106, 253)
HSLhsl(288, 97%, 70%)
CMYKcmyk(12%, 58%, 0%, 1%)
LABlab(64.2 66.5 -53.8)
LCHlch(64.2 85.5 321.1)
OKLCHoklch(0.720 0.229 319.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df6afd on white: 2.76:1
AA ✗ fail · AA-large · AAA
Aa
#df6afd on black: 7.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green41.6%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta58.1%
Yellow0.0%
Key (black)0.8%

Color previews

#df6afd text on a black background

contrast 7.62:1

Card sample

#df6afd text on a white background

contrast 2.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df6afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df6afd in the Color Lab