#bab3f8
a light, electric blue · warm · closest name: plum
RGB
186, 179, 248
HSL
246°, 83%, 84%
CMYK
25, 28, 0, 3
Luminance
0.4946
Every format
| HEX | #bab3f8 |
| RGB | rgb(186, 179, 248) |
| HSL | hsl(246, 83%, 84%) |
| CMYK | cmyk(25%, 28%, 0%, 3%) |
| LAB | lab(75.7 16.9 -33.3) |
| LCH | lch(75.7 37.4 297.0) |
| OKLCH | oklch(0.797 0.097 288.6) |
Copy-ready code
/* CSS */
color: #bab3f8;
background-color: #bab3f8;
/* Tailwind (arbitrary) */
class="text-[#bab3f8] bg-[#bab3f8]"
/* SCSS */
$brand: #bab3f8;
/* SwiftUI */
Color(red: 0.729, green: 0.702, blue: 0.973)
/* Android */
Color.parseColor("#bab3f8")Accessibility — WCAG contrast
Aa
#bab3f8 on white: 1.93:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab3f8 on black: 10.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green70.2%
Blue97.3%
CMYK percentages
Cyan25.0%
Magenta27.8%
Yellow0.0%
Key (black)2.7%
Color previews
#bab3f8 text on a black background
contrast 10.89:1
Card sample
#bab3f8 text on a white background
contrast 1.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab3f8;
Background color
Panel with #bab3f8 background
background-color: #bab3f8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab3f8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 179, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 179, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab3f8; background: linear-gradient(135deg, #bab3f8, #E8B3F8);