#bc8ef1
a light, electric violet · warm · closest name: violet
RGB
188, 142, 241
HSL
268°, 78%, 75%
CMYK
22, 41, 0, 6
Luminance
0.3639
Every format
| HEX | #bc8ef1 |
| RGB | rgb(188, 142, 241) |
| HSL | hsl(268, 78%, 75%) |
| CMYK | cmyk(22%, 41%, 0%, 6%) |
| LAB | lab(66.8 36.4 -43.4) |
| LCH | lch(66.8 56.6 310.0) |
| OKLCH | oklch(0.729 0.146 304.4) |
Copy-ready code
/* CSS */
color: #bc8ef1;
background-color: #bc8ef1;
/* Tailwind (arbitrary) */
class="text-[#bc8ef1] bg-[#bc8ef1]"
/* SCSS */
$brand: #bc8ef1;
/* SwiftUI */
Color(red: 0.737, green: 0.557, blue: 0.945)
/* Android */
Color.parseColor("#bc8ef1")Accessibility — WCAG contrast
Aa
#bc8ef1 on white: 2.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bc8ef1 on black: 8.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green55.7%
Blue94.5%
CMYK percentages
Cyan22.0%
Magenta41.1%
Yellow0.0%
Key (black)5.5%
Color previews
#bc8ef1 text on a black background
contrast 8.28:1
Card sample
#bc8ef1 text on a white background
contrast 2.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bc8ef1;
Background color
Panel with #bc8ef1 background
background-color: #bc8ef1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bc8ef1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 142, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 142, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc8ef1; background: linear-gradient(135deg, #bc8ef1, #F18EE4);