Skip to content

#df6ff8

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

RGB
223, 111, 248
HSL
289°, 91%, 70%
CMYK
10, 55, 0, 3
Luminance
0.3383

Every format

HEX#df6ff8
RGBrgb(223, 111, 248)
HSLhsl(289, 91%, 70%)
CMYKcmyk(10%, 55%, 0%, 3%)
LABlab(64.8 63.3 -50.1)
LCHlch(64.8 80.7 321.6)
OKLCHoklch(0.724 0.217 320.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df6ff8 on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#df6ff8 on black: 7.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green43.5%
Blue97.3%

CMYK percentages

Cyan10.1%
Magenta55.2%
Yellow0.0%
Key (black)2.7%

Color previews

#df6ff8 text on a black background

contrast 7.77:1

Card sample

#df6ff8 text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df6ff8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df6ff8 in the Color Lab