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