Skip to content

#d886ff

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

RGB
216, 134, 255
HSL
281°, 100%, 76%
CMYK
15, 48, 0, 0
Luminance
0.3887

Every format

HEX#d886ff
RGBrgb(216, 134, 255)
HSLhsl(281, 100%, 76%)
CMYKcmyk(15%, 48%, 0%, 0%)
LABlab(68.7 51.5 -47.9)
LCHlch(68.7 70.3 317.0)
OKLCHoklch(0.751 0.185 314.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d886ff on white: 2.39:1
AA ✗ fail · AA-large · AAA
Aa
#d886ff on black: 8.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.7%
Green52.5%
Blue100.0%

CMYK percentages

Cyan15.3%
Magenta47.5%
Yellow0.0%
Key (black)0.0%

Color previews

#d886ff text on a black background

contrast 8.77:1

Card sample

#d886ff text on a white background

contrast 2.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d886ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d886ff in the Color Lab