Skip to content

#df7ff0

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

RGB
223, 127, 240
HSL
291°, 79%, 72%
CMYK
7, 47, 0, 6
Luminance
0.3716

Every format

HEX#df7ff0
RGBrgb(223, 127, 240)
HSLhsl(291, 79%, 72%)
CMYKcmyk(7%, 47%, 0%, 6%)
LABlab(67.4 54.0 -41.6)
LCHlch(67.4 68.2 322.4)
OKLCHoklch(0.741 0.184 321.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df7ff0 on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#df7ff0 on black: 8.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green49.8%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta47.1%
Yellow0.0%
Key (black)5.9%

Color previews

#df7ff0 text on a black background

contrast 8.43:1

Card sample

#df7ff0 text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df7ff0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df7ff0 in the Color Lab