Skip to content

#df6afb

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

RGB
223, 106, 251
HSL
288°, 95%, 70%
CMYK
11, 58, 0, 2
Luminance
0.3296

Every format

HEX#df6afb
RGBrgb(223, 106, 251)
HSLhsl(288, 95%, 70%)
CMYKcmyk(11%, 58%, 0%, 2%)
LABlab(64.1 66.1 -52.8)
LCHlch(64.1 84.7 321.4)
OKLCHoklch(0.719 0.227 319.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df6afb on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#df6afb on black: 7.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green41.6%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta57.8%
Yellow0.0%
Key (black)1.6%

Color previews

#df6afb text on a black background

contrast 7.59:1

Card sample

#df6afb text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df6afb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df6afb in the Color Lab