#cb80ff
a light, electric violet · warm · closest name: violet
RGB
203, 128, 255
HSL
275°, 100%, 75%
CMYK
20, 50, 0, 0
Luminance
0.3535
Every format
| HEX | #cb80ff |
| RGB | rgb(203, 128, 255) |
| HSL | hsl(275, 100%, 75%) |
| CMYK | cmyk(20%, 50%, 0%, 0%) |
| LAB | lab(66.0 51.1 -52.2) |
| LCH | lch(66.0 73.0 314.4) |
| OKLCH | oklch(0.728 0.190 309.7) |
Copy-ready code
/* CSS */
color: #cb80ff;
background-color: #cb80ff;
/* Tailwind (arbitrary) */
class="text-[#cb80ff] bg-[#cb80ff]"
/* SCSS */
$brand: #cb80ff;
/* SwiftUI */
Color(red: 0.796, green: 0.502, blue: 1.000)
/* Android */
Color.parseColor("#cb80ff")Accessibility — WCAG contrast
Aa
#cb80ff on white: 2.60:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cb80ff on black: 8.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green50.2%
Blue100.0%
CMYK percentages
Cyan20.4%
Magenta49.8%
Yellow0.0%
Key (black)0.0%
Color previews
#cb80ff text on a black background
contrast 8.07:1
Card sample
#cb80ff text on a white background
contrast 2.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cb80ff;
Background color
Panel with #cb80ff background
background-color: #cb80ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cb80ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 128, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 128, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb80ff; background: linear-gradient(135deg, #cb80ff, #FF80DE);