#bab3fe
a light, electric blue · warm · closest name: plum
RGB
186, 179, 254
HSL
246°, 97%, 85%
CMYK
27, 30, 0, 0
Luminance
0.4984
Every format
| HEX | #bab3fe |
| RGB | rgb(186, 179, 254) |
| HSL | hsl(246, 97%, 85%) |
| CMYK | cmyk(27%, 30%, 0%, 0%) |
| LAB | lab(76.0 18.4 -36.2) |
| LCH | lch(76.0 40.6 296.9) |
| OKLCH | oklch(0.800 0.105 288.0) |
Copy-ready code
/* CSS */
color: #bab3fe;
background-color: #bab3fe;
/* Tailwind (arbitrary) */
class="text-[#bab3fe] bg-[#bab3fe]"
/* SCSS */
$brand: #bab3fe;
/* SwiftUI */
Color(red: 0.729, green: 0.702, blue: 0.996)
/* Android */
Color.parseColor("#bab3fe")Accessibility — WCAG contrast
Aa
#bab3fe on white: 1.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab3fe on black: 10.97:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green70.2%
Blue99.6%
CMYK percentages
Cyan26.8%
Magenta29.5%
Yellow0.0%
Key (black)0.4%
Color previews
#bab3fe text on a black background
contrast 10.97:1
Card sample
#bab3fe text on a white background
contrast 1.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab3fe;
Background color
Panel with #bab3fe background
background-color: #bab3fe;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab3fe;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 179, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 179, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab3fe; background: linear-gradient(135deg, #bab3fe, #ECB3FE);