#ba64eb
a light, electric violet · warm · closest name: orchid
RGB
186, 100, 235
HSL
278°, 77%, 66%
CMYK
21, 57, 0, 8
Luminance
0.2555
Every format
| HEX | #ba64eb |
| RGB | rgb(186, 100, 235) |
| HSL | hsl(278, 77%, 66%) |
| CMYK | cmyk(21%, 57%, 0%, 8%) |
| LAB | lab(57.6 56.8 -54.6) |
| LCH | lch(57.6 78.8 316.1) |
| OKLCH | oklch(0.659 0.205 311.5) |
Copy-ready code
/* CSS */
color: #ba64eb;
background-color: #ba64eb;
/* Tailwind (arbitrary) */
class="text-[#ba64eb] bg-[#ba64eb]"
/* SCSS */
$brand: #ba64eb;
/* SwiftUI */
Color(red: 0.729, green: 0.392, blue: 0.922)
/* Android */
Color.parseColor("#ba64eb")Accessibility — WCAG contrast
Aa
#ba64eb on white: 3.44:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ba64eb on black: 6.11:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green39.2%
Blue92.2%
CMYK percentages
Cyan20.9%
Magenta57.4%
Yellow0.0%
Key (black)7.8%
Color previews
#ba64eb text on a black background
contrast 6.11:1
Card sample
#ba64eb text on a white background
contrast 3.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba64eb;
Background color
Panel with #ba64eb background
background-color: #ba64eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba64eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 100, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 100, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba64eb; background: linear-gradient(135deg, #ba64eb, #EB64C2);