Skip to content

#dc6fff

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

RGB
220, 111, 255
HSL
285°, 100%, 72%
CMYK
14, 57, 0, 0
Luminance
0.3380

Every format

HEX#dc6fff
RGBrgb(220, 111, 255)
HSLhsl(285, 100%, 72%)
CMYKcmyk(14%, 57%, 0%, 0%)
LABlab(64.8 63.9 -54.0)
LCHlch(64.8 83.6 319.8)
OKLCHoklch(0.724 0.222 317.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc6fff on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#dc6fff on black: 7.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green43.5%
Blue100.0%

CMYK percentages

Cyan13.7%
Magenta56.5%
Yellow0.0%
Key (black)0.0%

Color previews

#dc6fff text on a black background

contrast 7.76:1

Card sample

#dc6fff text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc6fff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc6fff in the Color Lab