Skip to content

#dc9df7

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

RGB
220, 157, 247
HSL
282°, 85%, 79%
CMYK
11, 36, 0, 3
Luminance
0.4604

Every format

HEX#dc9df7
RGBrgb(220, 157, 247)
HSLhsl(282, 85%, 79%)
CMYKcmyk(11%, 36%, 0%, 3%)
LABlab(73.6 38.9 -35.9)
LCHlch(73.6 52.9 317.3)
OKLCHoklch(0.788 0.140 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc9df7 on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#dc9df7 on black: 10.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green61.6%
Blue96.9%

CMYK percentages

Cyan10.9%
Magenta36.4%
Yellow0.0%
Key (black)3.1%

Color previews

#dc9df7 text on a black background

contrast 10.21:1

Card sample

#dc9df7 text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc9df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc9df7 in the Color Lab