Skip to content

#dc5df6

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

RGB
220, 93, 246
HSL
290°, 90%, 67%
CMYK
11, 62, 0, 4
Luminance
0.2970

Every format

HEX#dc5df6
RGBrgb(220, 93, 246)
HSLhsl(290, 90%, 67%)
CMYKcmyk(11%, 62%, 0%, 4%)
LABlab(61.4 70.2 -54.4)
LCHlch(61.4 88.8 322.2)
OKLCHoklch(0.697 0.239 320.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc5df6 on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#dc5df6 on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green36.5%
Blue96.5%

CMYK percentages

Cyan10.6%
Magenta62.2%
Yellow0.0%
Key (black)3.5%

Color previews

#dc5df6 text on a black background

contrast 6.94:1

Card sample

#dc5df6 text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc5df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc5df6 in the Color Lab