Skip to content

#df7ff7

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

RGB
223, 127, 247
HSL
288°, 88%, 73%
CMYK
10, 49, 0, 3
Luminance
0.3758

Every format

HEX#df7ff7
RGBrgb(223, 127, 247)
HSLhsl(288, 88%, 73%)
CMYKcmyk(10%, 49%, 0%, 3%)
LABlab(67.7 55.3 -45.0)
LCHlch(67.7 71.3 320.9)
OKLCHoklch(0.745 0.191 319.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df7ff7 on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#df7ff7 on black: 8.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green49.8%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta48.6%
Yellow0.0%
Key (black)3.1%

Color previews

#df7ff7 text on a black background

contrast 8.52:1

Card sample

#df7ff7 text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df7ff7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df7ff7 in the Color Lab