Skip to content

#dc8df9

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

RGB
220, 141, 249
HSL
284°, 90%, 77%
CMYK
12, 43, 0, 2
Luminance
0.4110

Every format

HEX#dc8df9
RGBrgb(220, 141, 249)
HSLhsl(284, 90%, 77%)
CMYKcmyk(12%, 43%, 0%, 2%)
LABlab(70.3 47.7 -42.1)
LCHlch(70.3 63.7 318.6)
OKLCHoklch(0.763 0.169 316.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc8df9 on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#dc8df9 on black: 9.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green55.3%
Blue97.6%

CMYK percentages

Cyan11.6%
Magenta43.4%
Yellow0.0%
Key (black)2.4%

Color previews

#dc8df9 text on a black background

contrast 9.22:1

Card sample

#dc8df9 text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc8df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc8df9 in the Color Lab