Skip to content

#df6bf2

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

RGB
223, 107, 242
HSL
292°, 84%, 68%
CMYK
8, 56, 0, 5
Luminance
0.3261

Every format

HEX#df6bf2
RGBrgb(223, 107, 242)
HSLhsl(292, 84%, 68%)
CMYKcmyk(8%, 56%, 0%, 5%)
LABlab(63.9 64.0 -48.3)
LCHlch(63.9 80.2 323.0)
OKLCHoklch(0.715 0.217 321.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df6bf2 on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#df6bf2 on black: 7.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green42.0%
Blue94.9%

CMYK percentages

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

Color previews

#df6bf2 text on a black background

contrast 7.52:1

Card sample

#df6bf2 text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df6bf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df6bf2 in the Color Lab