Skip to content

#dc8dfd

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

RGB
220, 141, 253
HSL
282°, 97%, 77%
CMYK
13, 44, 0, 1
Luminance
0.4136

Every format

HEX#dc8dfd
RGBrgb(220, 141, 253)
HSLhsl(282, 97%, 77%)
CMYKcmyk(13%, 44%, 0%, 1%)
LABlab(70.4 48.5 -44.0)
LCHlch(70.4 65.5 317.8)
OKLCHoklch(0.765 0.173 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc8dfd on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#dc8dfd on black: 9.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green55.3%
Blue99.2%

CMYK percentages

Cyan13.0%
Magenta44.3%
Yellow0.0%
Key (black)0.8%

Color previews

#dc8dfd text on a black background

contrast 9.27:1

Card sample

#dc8dfd text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc8dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc8dfd in the Color Lab