Skip to content

#dc6dfd

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

RGB
220, 109, 253
HSL
286°, 97%, 71%
CMYK
13, 57, 0, 1
Luminance
0.3324

Every format

HEX#dc6dfd
RGBrgb(220, 109, 253)
HSLhsl(286, 97%, 71%)
CMYKcmyk(13%, 57%, 0%, 1%)
LABlab(64.4 64.4 -53.6)
LCHlch(64.4 83.8 320.2)
OKLCHoklch(0.720 0.223 317.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc6dfd on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#dc6dfd on black: 7.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green42.7%
Blue99.2%

CMYK percentages

Cyan13.0%
Magenta56.9%
Yellow0.0%
Key (black)0.8%

Color previews

#dc6dfd text on a black background

contrast 7.65:1

Card sample

#dc6dfd text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc6dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc6dfd in the Color Lab