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