#7c00eb
a balanced, electric violet · warm · closest name: blue
RGB
124, 0, 235
HSL
272°, 100%, 46%
CMYK
47, 100, 0, 8
Luminance
0.1028
Every format
| HEX | #7c00eb |
| RGB | rgb(124, 0, 235) |
| HSL | hsl(272, 100%, 46%) |
| CMYK | cmyk(47%, 100%, 0%, 8%) |
| LAB | lab(38.3 78.7 -86.3) |
| LCH | lch(38.3 116.8 312.4) |
| OKLCH | oklch(0.506 0.276 296.2) |
Copy-ready code
/* CSS */
color: #7c00eb;
background-color: #7c00eb;
/* Tailwind (arbitrary) */
class="text-[#7c00eb] bg-[#7c00eb]"
/* SCSS */
$brand: #7c00eb;
/* SwiftUI */
Color(red: 0.486, green: 0.000, blue: 0.922)
/* Android */
Color.parseColor("#7c00eb")Accessibility — WCAG contrast
Aa
#7c00eb on white: 6.87:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#7c00eb on black: 3.06:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red48.6%
Green0.0%
Blue92.2%
CMYK percentages
Cyan47.2%
Magenta100.0%
Yellow0.0%
Key (black)7.8%
Color previews
#7c00eb text on a black background
contrast 3.06:1
Card sample
#7c00eb text on a white background
contrast 6.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7c00eb;
Background color
Panel with #7c00eb background
background-color: #7c00eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7c00eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(124, 0, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 0, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7c00eb; background: linear-gradient(135deg, #7c00eb, #EB00BD);