Skip to content

#df6cf2

a light, electric magenta / pink · warm · closest name: violet

RGB
223, 108, 242
HSL
292°, 84%, 69%
CMYK
8, 55, 0, 5
Luminance
0.3282

Every format

HEX#df6cf2
RGBrgb(223, 108, 242)
HSLhsl(292, 84%, 69%)
CMYKcmyk(8%, 55%, 0%, 5%)
LABlab(64.0 63.5 -48.0)
LCHlch(64.0 79.7 322.9)
OKLCHoklch(0.717 0.215 321.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df6cf2 on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#df6cf2 on black: 7.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green42.4%
Blue94.9%

CMYK percentages

Cyan7.9%
Magenta55.4%
Yellow0.0%
Key (black)5.1%

Color previews

#df6cf2 text on a black background

contrast 7.56:1

Card sample

#df6cf2 text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df6cf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df6cf2 in the Color Lab