#bab0f9
a light, electric blue · warm · closest name: plum
RGB
186, 176, 249
HSL
248°, 86%, 83%
CMYK
25, 29, 0, 2
Luminance
0.4833
Every format
| HEX | #bab0f9 |
| RGB | rgb(186, 176, 249) |
| HSL | hsl(248, 86%, 83%) |
| CMYK | cmyk(25%, 29%, 0%, 2%) |
| LAB | lab(75.0 18.8 -34.9) |
| LCH | lch(75.0 39.7 298.3) |
| OKLCH | oklch(0.792 0.103 290.1) |
Copy-ready code
/* CSS */
color: #bab0f9;
background-color: #bab0f9;
/* Tailwind (arbitrary) */
class="text-[#bab0f9] bg-[#bab0f9]"
/* SCSS */
$brand: #bab0f9;
/* SwiftUI */
Color(red: 0.729, green: 0.690, blue: 0.976)
/* Android */
Color.parseColor("#bab0f9")Accessibility — WCAG contrast
Aa
#bab0f9 on white: 1.97:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab0f9 on black: 10.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green69.0%
Blue97.6%
CMYK percentages
Cyan25.3%
Magenta29.3%
Yellow0.0%
Key (black)2.4%
Color previews
#bab0f9 text on a black background
contrast 10.67:1
Card sample
#bab0f9 text on a white background
contrast 1.97:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab0f9;
Background color
Panel with #bab0f9 background
background-color: #bab0f9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab0f9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 176, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 176, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab0f9; background: linear-gradient(135deg, #bab0f9, #EBB0F9);