#bab3fc
a light, electric blue · warm · closest name: plum
RGB
186, 179, 252
HSL
246°, 92%, 85%
CMYK
26, 29, 0, 1
Luminance
0.4971
Every format
| HEX | #bab3fc |
| RGB | rgb(186, 179, 252) |
| HSL | hsl(246, 92%, 85%) |
| CMYK | cmyk(26%, 29%, 0%, 1%) |
| LAB | lab(75.9 17.9 -35.2) |
| LCH | lch(75.9 39.5 296.9) |
| OKLCH | oklch(0.799 0.103 288.2) |
Copy-ready code
/* CSS */
color: #bab3fc;
background-color: #bab3fc;
/* Tailwind (arbitrary) */
class="text-[#bab3fc] bg-[#bab3fc]"
/* SCSS */
$brand: #bab3fc;
/* SwiftUI */
Color(red: 0.729, green: 0.702, blue: 0.988)
/* Android */
Color.parseColor("#bab3fc")Accessibility — WCAG contrast
Aa
#bab3fc on white: 1.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab3fc on black: 10.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green70.2%
Blue98.8%
CMYK percentages
Cyan26.2%
Magenta29.0%
Yellow0.0%
Key (black)1.2%
Color previews
#bab3fc text on a black background
contrast 10.94:1
Card sample
#bab3fc text on a white background
contrast 1.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab3fc;
Background color
Panel with #bab3fc background
background-color: #bab3fc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab3fc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 179, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 179, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab3fc; background: linear-gradient(135deg, #bab3fc, #EBB3FC);