Skip to content

#dc7df9

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

RGB
220, 125, 249
HSL
286°, 91%, 73%
CMYK
12, 50, 0, 2
Luminance
0.3672

Every format

HEX#dc7df9
RGBrgb(220, 125, 249)
HSLhsl(286, 91%, 73%)
CMYKcmyk(12%, 50%, 0%, 2%)
LABlab(67.1 55.9 -47.1)
LCHlch(67.1 73.1 319.9)
OKLCHoklch(0.739 0.195 317.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc7df9 on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#dc7df9 on black: 8.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green49.0%
Blue97.6%

CMYK percentages

Cyan11.6%
Magenta49.8%
Yellow0.0%
Key (black)2.4%

Color previews

#dc7df9 text on a black background

contrast 8.34:1

Card sample

#dc7df9 text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 125, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 125, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dc7df9;
background: linear-gradient(135deg, #dc7df9, #F97DC3);

Monochromatic scale

Palettes built from #dc7df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc7df9 in the Color Lab