#bab3f4
a light, vivid blue · warm · closest name: plum
RGB
186, 179, 244
HSL
247°, 75%, 83%
CMYK
24, 27, 0, 4
Luminance
0.4921
Every format
| HEX | #bab3f4 |
| RGB | rgb(186, 179, 244) |
| HSL | hsl(247, 75%, 83%) |
| CMYK | cmyk(24%, 27%, 0%, 4%) |
| LAB | lab(75.6 16.0 -31.4) |
| LCH | lch(75.6 35.2 297.0) |
| OKLCH | oklch(0.796 0.091 289.1) |
Copy-ready code
/* CSS */
color: #bab3f4;
background-color: #bab3f4;
/* Tailwind (arbitrary) */
class="text-[#bab3f4] bg-[#bab3f4]"
/* SCSS */
$brand: #bab3f4;
/* SwiftUI */
Color(red: 0.729, green: 0.702, blue: 0.957)
/* Android */
Color.parseColor("#bab3f4")Accessibility — WCAG contrast
Aa
#bab3f4 on white: 1.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab3f4 on black: 10.84:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green70.2%
Blue95.7%
CMYK percentages
Cyan23.8%
Magenta26.6%
Yellow0.0%
Key (black)4.3%
Color previews
#bab3f4 text on a black background
contrast 10.84:1
Card sample
#bab3f4 text on a white background
contrast 1.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab3f4;
Background color
Panel with #bab3f4 background
background-color: #bab3f4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab3f4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 179, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 179, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab3f4; background: linear-gradient(135deg, #bab3f4, #E5B3F4);