#df80fe
a light, electric violet · warm · closest name: violet
RGB
223, 128, 254
HSL
285°, 98%, 75%
CMYK
12, 50, 0, 0
Luminance
0.3828
Every format
| HEX | #df80fe |
| RGB | rgb(223, 128, 254) |
| HSL | hsl(285, 98%, 75%) |
| CMYK | cmyk(12%, 50%, 0%, 0%) |
| LAB | lab(68.2 56.2 -48.0) |
| LCH | lch(68.2 73.9 319.5) |
| OKLCH | oklch(0.750 0.197 317.3) |
Copy-ready code
/* CSS */
color: #df80fe;
background-color: #df80fe;
/* Tailwind (arbitrary) */
class="text-[#df80fe] bg-[#df80fe]"
/* SCSS */
$brand: #df80fe;
/* SwiftUI */
Color(red: 0.875, green: 0.502, blue: 0.996)
/* Android */
Color.parseColor("#df80fe")Accessibility — WCAG contrast
Aa
#df80fe on white: 2.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#df80fe on black: 8.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green50.2%
Blue99.6%
CMYK percentages
Cyan12.2%
Magenta49.6%
Yellow0.0%
Key (black)0.4%
Color previews
#df80fe text on a black background
contrast 8.66:1
Card sample
#df80fe text on a white background
contrast 2.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #df80fe;
Background color
Panel with #df80fe background
background-color: #df80fe;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #df80fe;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 128, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 128, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df80fe; background: linear-gradient(135deg, #df80fe, #FE80C9);