#ce80ff
a light, electric violet · warm · closest name: violet
RGB
206, 128, 255
HSL
277°, 100%, 75%
CMYK
19, 50, 0, 0
Luminance
0.3578
Every format
| HEX | #ce80ff |
| RGB | rgb(206, 128, 255) |
| HSL | hsl(277, 100%, 75%) |
| CMYK | cmyk(19%, 50%, 0%, 0%) |
| LAB | lab(66.3 51.9 -51.6) |
| LCH | lch(66.3 73.2 315.2) |
| OKLCH | oklch(0.732 0.191 310.9) |
Copy-ready code
/* CSS */
color: #ce80ff;
background-color: #ce80ff;
/* Tailwind (arbitrary) */
class="text-[#ce80ff] bg-[#ce80ff]"
/* SCSS */
$brand: #ce80ff;
/* SwiftUI */
Color(red: 0.808, green: 0.502, blue: 1.000)
/* Android */
Color.parseColor("#ce80ff")Accessibility — WCAG contrast
Aa
#ce80ff on white: 2.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ce80ff on black: 8.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green50.2%
Blue100.0%
CMYK percentages
Cyan19.2%
Magenta49.8%
Yellow0.0%
Key (black)0.0%
Color previews
#ce80ff text on a black background
contrast 8.16:1
Card sample
#ce80ff text on a white background
contrast 2.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ce80ff;
Background color
Panel with #ce80ff background
background-color: #ce80ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ce80ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 128, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 128, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce80ff; background: linear-gradient(135deg, #ce80ff, #FF80DB);