#bab0eb
a light, vivid blue · warm · closest name: plum
RGB
186, 176, 235
HSL
250°, 60%, 81%
CMYK
21, 25, 0, 8
Luminance
0.4749
Every format
| HEX | #bab0eb |
| RGB | rgb(186, 176, 235) |
| HSL | hsl(250, 60%, 81%) |
| CMYK | cmyk(21%, 25%, 0%, 8%) |
| LAB | lab(74.5 15.6 -28.2) |
| LCH | lch(74.5 32.2 299.0) |
| OKLCH | oklch(0.786 0.084 292.1) |
Copy-ready code
/* CSS */
color: #bab0eb;
background-color: #bab0eb;
/* Tailwind (arbitrary) */
class="text-[#bab0eb] bg-[#bab0eb]"
/* SCSS */
$brand: #bab0eb;
/* SwiftUI */
Color(red: 0.729, green: 0.690, blue: 0.922)
/* Android */
Color.parseColor("#bab0eb")Accessibility — WCAG contrast
Aa
#bab0eb on white: 2.00:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab0eb on black: 10.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green69.0%
Blue92.2%
CMYK percentages
Cyan20.9%
Magenta25.1%
Yellow0.0%
Key (black)7.8%
Color previews
#bab0eb text on a black background
contrast 10.50:1
Card sample
#bab0eb text on a white background
contrast 2.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab0eb;
Background color
Panel with #bab0eb background
background-color: #bab0eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab0eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 176, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 176, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab0eb; background: linear-gradient(135deg, #bab0eb, #E1B0EB);