#d280fd
a light, electric violet · warm · closest name: violet
RGB
210, 128, 253
HSL
279°, 97%, 75%
CMYK
17, 49, 0, 1
Luminance
0.3623
Every format
| HEX | #d280fd |
| RGB | rgb(210, 128, 253) |
| HSL | hsl(279, 97%, 75%) |
| CMYK | cmyk(17%, 49%, 0%, 1%) |
| LAB | lab(66.7 52.5 -50.0) |
| LCH | lch(66.7 72.5 316.4) |
| OKLCH | oklch(0.735 0.190 312.9) |
Copy-ready code
/* CSS */
color: #d280fd;
background-color: #d280fd;
/* Tailwind (arbitrary) */
class="text-[#d280fd] bg-[#d280fd]"
/* SCSS */
$brand: #d280fd;
/* SwiftUI */
Color(red: 0.824, green: 0.502, blue: 0.992)
/* Android */
Color.parseColor("#d280fd")Accessibility — WCAG contrast
Aa
#d280fd on white: 2.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d280fd on black: 8.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red82.4%
Green50.2%
Blue99.2%
CMYK percentages
Cyan17.0%
Magenta49.4%
Yellow0.0%
Key (black)0.8%
Color previews
#d280fd text on a black background
contrast 8.25:1
Card sample
#d280fd text on a white background
contrast 2.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d280fd;
Background color
Panel with #d280fd background
background-color: #d280fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d280fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(210, 128, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 128, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d280fd; background: linear-gradient(135deg, #d280fd, #FD80D5);