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