Skip to content

#dc9eee

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

RGB
220, 158, 238
HSL
287°, 70%, 78%
CMYK
8, 34, 0, 7
Luminance
0.4584

Every format

HEX#dc9eee
RGBrgb(220, 158, 238)
HSLhsl(287, 70%, 78%)
CMYKcmyk(8%, 34%, 0%, 7%)
LABlab(73.4 36.5 -31.2)
LCHlch(73.4 48.0 319.5)
OKLCHoklch(0.786 0.129 318.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green62.0%
Blue93.3%

CMYK percentages

Cyan7.6%
Magenta33.6%
Yellow0.0%
Key (black)6.7%

Color previews

#dc9eee text on a black background

contrast 10.17:1

Card sample

#dc9eee text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc9eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc9eee in the Color Lab