Skip to content

#d86df0

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

RGB
216, 109, 240
HSL
289°, 81%, 68%
CMYK
10, 55, 0, 6
Luminance
0.3183

Every format

HEX#d86df0
RGBrgb(216, 109, 240)
HSLhsl(289, 81%, 68%)
CMYKcmyk(10%, 55%, 0%, 6%)
LABlab(63.2 60.9 -48.3)
LCHlch(63.2 77.8 321.6)
OKLCHoklch(0.708 0.209 320.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.7%
Green42.7%
Blue94.1%

CMYK percentages

Cyan10.0%
Magenta54.6%
Yellow0.0%
Key (black)5.9%

Color previews

#d86df0 text on a black background

contrast 7.37:1

Card sample

#d86df0 text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d86df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d86df0 in the Color Lab