#be30ec
a balanced, electric violet · warm · closest name: magenta
RGB
190, 48, 236
HSL
285°, 83%, 56%
CMYK
20, 80, 0, 8
Luminance
0.1912
Every format
| HEX | #be30ec |
| RGB | rgb(190, 48, 236) |
| HSL | hsl(285, 83%, 56%) |
| CMYK | cmyk(20%, 80%, 0%, 8%) |
| LAB | lab(50.8 78.5 -66.0) |
| LCH | lch(50.8 102.5 319.9) |
| OKLCH | oklch(0.611 0.268 315.9) |
Copy-ready code
/* CSS */
color: #be30ec;
background-color: #be30ec;
/* Tailwind (arbitrary) */
class="text-[#be30ec] bg-[#be30ec]"
/* SCSS */
$brand: #be30ec;
/* SwiftUI */
Color(red: 0.745, green: 0.188, blue: 0.925)
/* Android */
Color.parseColor("#be30ec")Accessibility — WCAG contrast
Aa
#be30ec on white: 4.35:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#be30ec on black: 4.82:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.5%
Green18.8%
Blue92.5%
CMYK percentages
Cyan19.5%
Magenta79.7%
Yellow0.0%
Key (black)7.5%
Color previews
#be30ec text on a black background
contrast 4.82:1
Card sample
#be30ec text on a white background
contrast 4.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #be30ec;
Background color
Panel with #be30ec background
background-color: #be30ec;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #be30ec;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(190, 48, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 48, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #be30ec; background: linear-gradient(135deg, #be30ec, #EC309D);