Skip to content

#dc7df0

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

RGB
220, 125, 240
HSL
290°, 79%, 72%
CMYK
8, 48, 0, 6
Luminance
0.3617

Every format

HEX#dc7df0
RGBrgb(220, 125, 240)
HSLhsl(290, 79%, 72%)
CMYKcmyk(8%, 48%, 0%, 6%)
LABlab(66.7 54.2 -42.8)
LCHlch(66.7 69.0 321.7)
OKLCHoklch(0.735 0.186 320.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc7df0 on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#dc7df0 on black: 8.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green49.0%
Blue94.1%

CMYK percentages

Cyan8.3%
Magenta47.9%
Yellow0.0%
Key (black)5.9%

Color previews

#dc7df0 text on a black background

contrast 8.23:1

Card sample

#dc7df0 text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc7df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc7df0 in the Color Lab