#bab2f1
a light, vivid blue · warm · closest name: plum
RGB
186, 178, 241
HSL
248°, 69%, 82%
CMYK
23, 26, 0, 6
Luminance
0.4863
Every format
| HEX | #bab2f1 |
| RGB | rgb(186, 178, 241) |
| HSL | hsl(248, 69%, 82%) |
| CMYK | cmyk(23%, 26%, 0%, 6%) |
| LAB | lab(75.2 15.9 -30.3) |
| LCH | lch(75.2 34.2 297.6) |
| OKLCH | oklch(0.792 0.089 290.0) |
Copy-ready code
/* CSS */
color: #bab2f1;
background-color: #bab2f1;
/* Tailwind (arbitrary) */
class="text-[#bab2f1] bg-[#bab2f1]"
/* SCSS */
$brand: #bab2f1;
/* SwiftUI */
Color(red: 0.729, green: 0.698, blue: 0.945)
/* Android */
Color.parseColor("#bab2f1")Accessibility — WCAG contrast
Aa
#bab2f1 on white: 1.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab2f1 on black: 10.73:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green69.8%
Blue94.5%
CMYK percentages
Cyan22.8%
Magenta26.1%
Yellow0.0%
Key (black)5.5%
Color previews
#bab2f1 text on a black background
contrast 10.73:1
Card sample
#bab2f1 text on a white background
contrast 1.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab2f1;
Background color
Panel with #bab2f1 background
background-color: #bab2f1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab2f1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 178, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 178, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab2f1; background: linear-gradient(135deg, #bab2f1, #E4B2F1);