#bab1fd
a light, electric blue · warm · closest name: plum
RGB
186, 177, 253
HSL
247°, 95%, 84%
CMYK
27, 30, 0, 1
Luminance
0.4898
Every format
| HEX | #bab1fd |
| RGB | rgb(186, 177, 253) |
| HSL | hsl(247, 95%, 84%) |
| CMYK | cmyk(27%, 30%, 0%, 1%) |
| LAB | lab(75.4 19.2 -36.5) |
| LCH | lch(75.4 41.2 297.8) |
| OKLCH | oklch(0.796 0.107 289.2) |
Copy-ready code
/* CSS */
color: #bab1fd;
background-color: #bab1fd;
/* Tailwind (arbitrary) */
class="text-[#bab1fd] bg-[#bab1fd]"
/* SCSS */
$brand: #bab1fd;
/* SwiftUI */
Color(red: 0.729, green: 0.694, blue: 0.992)
/* Android */
Color.parseColor("#bab1fd")Accessibility — WCAG contrast
Aa
#bab1fd on white: 1.95:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab1fd on black: 10.80:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green69.4%
Blue99.2%
CMYK percentages
Cyan26.5%
Magenta30.0%
Yellow0.0%
Key (black)0.8%
Color previews
#bab1fd text on a black background
contrast 10.80:1
Card sample
#bab1fd text on a white background
contrast 1.95:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab1fd;
Background color
Panel with #bab1fd background
background-color: #bab1fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab1fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 177, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 177, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab1fd; background: linear-gradient(135deg, #bab1fd, #EDB1FD);