Skip to content

#dc9df3

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

RGB
220, 157, 243
HSL
284°, 78%, 78%
CMYK
10, 35, 0, 5
Luminance
0.4580

Every format

HEX#dc9df3
RGBrgb(220, 157, 243)
HSLhsl(284, 78%, 78%)
CMYKcmyk(10%, 35%, 0%, 5%)
LABlab(73.4 38.1 -33.9)
LCHlch(73.4 51.0 318.3)
OKLCHoklch(0.786 0.136 316.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc9df3 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#dc9df3 on black: 10.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green61.6%
Blue95.3%

CMYK percentages

Cyan9.5%
Magenta35.4%
Yellow0.0%
Key (black)4.7%

Color previews

#dc9df3 text on a black background

contrast 10.16:1

Card sample

#dc9df3 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc9df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc9df3 in the Color Lab