Skip to content

#d56df8

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

RGB
213, 109, 248
HSL
285°, 91%, 70%
CMYK
14, 56, 0, 3
Luminance
0.3186

Every format

HEX#d56df8
RGBrgb(213, 109, 248)
HSLhsl(285, 91%, 70%)
CMYKcmyk(14%, 56%, 0%, 3%)
LABlab(63.2 61.7 -52.7)
LCHlch(63.2 81.2 319.5)
OKLCHoklch(0.709 0.215 316.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d56df8 on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#d56df8 on black: 7.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.5%
Green42.7%
Blue97.3%

CMYK percentages

Cyan14.1%
Magenta56.0%
Yellow0.0%
Key (black)2.7%

Color previews

#d56df8 text on a black background

contrast 7.37:1

Card sample

#d56df8 text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d56df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d56df8 in the Color Lab