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