#bab0f4
a light, electric blue · warm · closest name: plum
RGB
186, 176, 244
HSL
249°, 76%, 82%
CMYK
24, 28, 0, 4
Luminance
0.4802
Every format
| HEX | #bab0f4 |
| RGB | rgb(186, 176, 244) |
| HSL | hsl(249, 76%, 82%) |
| CMYK | cmyk(24%, 28%, 0%, 4%) |
| LAB | lab(74.8 17.7 -32.5) |
| LCH | lch(74.8 37.0 298.5) |
| OKLCH | oklch(0.790 0.096 290.8) |
Copy-ready code
/* CSS */
color: #bab0f4;
background-color: #bab0f4;
/* Tailwind (arbitrary) */
class="text-[#bab0f4] bg-[#bab0f4]"
/* SCSS */
$brand: #bab0f4;
/* SwiftUI */
Color(red: 0.729, green: 0.690, blue: 0.957)
/* Android */
Color.parseColor("#bab0f4")Accessibility — WCAG contrast
Aa
#bab0f4 on white: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab0f4 on black: 10.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green69.0%
Blue95.7%
CMYK percentages
Cyan23.8%
Magenta27.9%
Yellow0.0%
Key (black)4.3%
Color previews
#bab0f4 text on a black background
contrast 10.60:1
Card sample
#bab0f4 text on a white background
contrast 1.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab0f4;
Background color
Panel with #bab0f4 background
background-color: #bab0f4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab0f4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 176, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 176, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab0f4; background: linear-gradient(135deg, #bab0f4, #E7B0F4);