#d984eb
a light, vivid violet · warm · closest name: violet
RGB
217, 132, 235
HSL
290°, 72%, 72%
CMYK
8, 44, 0, 8
Luminance
0.3725
Every format
| HEX | #d984eb |
| RGB | rgb(217, 132, 235) |
| HSL | hsl(290, 72%, 72%) |
| CMYK | cmyk(8%, 44%, 0%, 8%) |
| LAB | lab(67.5 48.8 -38.8) |
| LCH | lch(67.5 62.4 321.5) |
| OKLCH | oklch(0.740 0.168 320.4) |
Copy-ready code
/* CSS */
color: #d984eb;
background-color: #d984eb;
/* Tailwind (arbitrary) */
class="text-[#d984eb] bg-[#d984eb]"
/* SCSS */
$brand: #d984eb;
/* SwiftUI */
Color(red: 0.851, green: 0.518, blue: 0.922)
/* Android */
Color.parseColor("#d984eb")Accessibility — WCAG contrast
Aa
#d984eb on white: 2.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d984eb on black: 8.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red85.1%
Green51.8%
Blue92.2%
CMYK percentages
Cyan7.7%
Magenta43.8%
Yellow0.0%
Key (black)7.8%
Color previews
#d984eb text on a black background
contrast 8.45:1
Card sample
#d984eb text on a white background
contrast 2.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d984eb;
Background color
Panel with #d984eb background
background-color: #d984eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d984eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(217, 132, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 132, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d984eb; background: linear-gradient(135deg, #d984eb, #EB84B8);