#cb35eb
a balanced, electric violet · warm · closest name: magenta
RGB
203, 53, 235
HSL
290°, 82%, 57%
CMYK
14, 77, 0, 8
Luminance
0.2124
Every format
| HEX | #cb35eb |
| RGB | rgb(203, 53, 235) |
| HSL | hsl(290, 82%, 57%) |
| CMYK | cmyk(14%, 77%, 0%, 8%) |
| LAB | lab(53.2 79.1 -61.5) |
| LCH | lch(53.2 100.2 322.1) |
| OKLCH | oklch(0.632 0.267 319.7) |
Copy-ready code
/* CSS */
color: #cb35eb;
background-color: #cb35eb;
/* Tailwind (arbitrary) */
class="text-[#cb35eb] bg-[#cb35eb]"
/* SCSS */
$brand: #cb35eb;
/* SwiftUI */
Color(red: 0.796, green: 0.208, blue: 0.922)
/* Android */
Color.parseColor("#cb35eb")Accessibility — WCAG contrast
Aa
#cb35eb on white: 4.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cb35eb on black: 5.25:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green20.8%
Blue92.2%
CMYK percentages
Cyan13.6%
Magenta77.4%
Yellow0.0%
Key (black)7.8%
Color previews
#cb35eb text on a black background
contrast 5.25:1
Card sample
#cb35eb text on a white background
contrast 4.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cb35eb;
Background color
Panel with #cb35eb background
background-color: #cb35eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cb35eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 53, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 53, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb35eb; background: linear-gradient(135deg, #cb35eb, #EB3592);