Skip to content

#dc6dfb

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

RGB
220, 109, 251
HSL
287°, 95%, 71%
CMYK
12, 57, 0, 2
Luminance
0.3312

Every format

HEX#dc6dfb
RGBrgb(220, 109, 251)
HSLhsl(287, 95%, 71%)
CMYKcmyk(12%, 57%, 0%, 2%)
LABlab(64.3 64.0 -52.6)
LCHlch(64.3 82.9 320.6)
OKLCHoklch(0.719 0.221 318.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green42.7%
Blue98.4%

CMYK percentages

Cyan12.4%
Magenta56.6%
Yellow0.0%
Key (black)1.6%

Color previews

#dc6dfb text on a black background

contrast 7.62:1

Card sample

#dc6dfb text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc6dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc6dfb in the Color Lab