#bc9ef4
a light, electric violet · warm · closest name: plum
RGB
188, 158, 244
HSL
261°, 80%, 79%
CMYK
23, 35, 0, 4
Luminance
0.4168
Every format
| HEX | #bc9ef4 |
| RGB | rgb(188, 158, 244) |
| HSL | hsl(261, 80%, 79%) |
| CMYK | cmyk(23%, 35%, 0%, 4%) |
| LAB | lab(70.7 28.2 -39.0) |
| LCH | lch(70.7 48.1 305.9) |
| OKLCH | oklch(0.758 0.124 299.5) |
Copy-ready code
/* CSS */
color: #bc9ef4;
background-color: #bc9ef4;
/* Tailwind (arbitrary) */
class="text-[#bc9ef4] bg-[#bc9ef4]"
/* SCSS */
$brand: #bc9ef4;
/* SwiftUI */
Color(red: 0.737, green: 0.620, blue: 0.957)
/* Android */
Color.parseColor("#bc9ef4")Accessibility — WCAG contrast
Aa
#bc9ef4 on white: 2.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bc9ef4 on black: 9.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green62.0%
Blue95.7%
CMYK percentages
Cyan23.0%
Magenta35.2%
Yellow0.0%
Key (black)4.3%
Color previews
#bc9ef4 text on a black background
contrast 9.34:1
Card sample
#bc9ef4 text on a white background
contrast 2.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bc9ef4;
Background color
Panel with #bc9ef4 background
background-color: #bc9ef4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bc9ef4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 158, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 158, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc9ef4; background: linear-gradient(135deg, #bc9ef4, #F49EF3);