Skip to content

#df6ff6

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

RGB
223, 111, 246
HSL
290°, 88%, 70%
CMYK
9, 55, 0, 4
Luminance
0.3371

Every format

HEX#df6ff6
RGBrgb(223, 111, 246)
HSLhsl(290, 88%, 70%)
CMYKcmyk(9%, 55%, 0%, 4%)
LABlab(64.7 62.9 -49.1)
LCHlch(64.7 79.8 322.0)
OKLCHoklch(0.723 0.215 320.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df6ff6 on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#df6ff6 on black: 7.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green43.5%
Blue96.5%

CMYK percentages

Cyan9.3%
Magenta54.9%
Yellow0.0%
Key (black)3.5%

Color previews

#df6ff6 text on a black background

contrast 7.74:1

Card sample

#df6ff6 text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df6ff6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df6ff6 in the Color Lab