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