#bab4fd
a light, electric blue · warm · closest name: plum
RGB
186, 180, 253
HSL
245°, 95%, 85%
CMYK
27, 29, 0, 1
Luminance
0.5017
Every format
| HEX | #bab4fd |
| RGB | rgb(186, 180, 253) |
| HSL | hsl(245, 95%, 85%) |
| CMYK | cmyk(27%, 29%, 0%, 1%) |
| LAB | lab(76.2 17.6 -35.3) |
| LCH | lch(76.2 39.4 296.5) |
| OKLCH | oklch(0.801 0.102 287.6) |
Copy-ready code
/* CSS */
color: #bab4fd;
background-color: #bab4fd;
/* Tailwind (arbitrary) */
class="text-[#bab4fd] bg-[#bab4fd]"
/* SCSS */
$brand: #bab4fd;
/* SwiftUI */
Color(red: 0.729, green: 0.706, blue: 0.992)
/* Android */
Color.parseColor("#bab4fd")Accessibility — WCAG contrast
Aa
#bab4fd on white: 1.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab4fd on black: 11.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green70.6%
Blue99.2%
CMYK percentages
Cyan26.5%
Magenta28.9%
Yellow0.0%
Key (black)0.8%
Color previews
#bab4fd text on a black background
contrast 11.03:1
Card sample
#bab4fd text on a white background
contrast 1.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab4fd;
Background color
Panel with #bab4fd background
background-color: #bab4fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab4fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 180, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 180, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab4fd; background: linear-gradient(135deg, #bab4fd, #EBB4FD);