Skip to content

#dc8eee

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

RGB
220, 142, 238
HSL
289°, 74%, 75%
CMYK
8, 40, 0, 7
Luminance
0.4073

Every format

HEX#dc8eee
RGBrgb(220, 142, 238)
HSLhsl(289, 74%, 75%)
CMYKcmyk(8%, 40%, 0%, 7%)
LABlab(70.0 45.0 -36.5)
LCHlch(70.0 58.0 321.0)
OKLCHoklch(0.760 0.156 319.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc8eee on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#dc8eee on black: 9.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green55.7%
Blue93.3%

CMYK percentages

Cyan7.6%
Magenta40.3%
Yellow0.0%
Key (black)6.7%

Color previews

#dc8eee text on a black background

contrast 9.15:1

Card sample

#dc8eee text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc8eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc8eee in the Color Lab