#bab3f2
a light, vivid blue · warm · closest name: plum
RGB
186, 179, 242
HSL
247°, 71%, 83%
CMYK
23, 26, 0, 5
Luminance
0.4909
Every format
| HEX | #bab3f2 |
| RGB | rgb(186, 179, 242) |
| HSL | hsl(247, 71%, 83%) |
| CMYK | cmyk(23%, 26%, 0%, 5%) |
| LAB | lab(75.5 15.5 -30.4) |
| LCH | lch(75.5 34.1 297.1) |
| OKLCH | oklch(0.795 0.089 289.3) |
Copy-ready code
/* CSS */
color: #bab3f2;
background-color: #bab3f2;
/* Tailwind (arbitrary) */
class="text-[#bab3f2] bg-[#bab3f2]"
/* SCSS */
$brand: #bab3f2;
/* SwiftUI */
Color(red: 0.729, green: 0.702, blue: 0.949)
/* Android */
Color.parseColor("#bab3f2")Accessibility — WCAG contrast
Aa
#bab3f2 on white: 1.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab3f2 on black: 10.82:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green70.2%
Blue94.9%
CMYK percentages
Cyan23.1%
Magenta26.0%
Yellow0.0%
Key (black)5.1%
Color previews
#bab3f2 text on a black background
contrast 10.82:1
Card sample
#bab3f2 text on a white background
contrast 1.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab3f2;
Background color
Panel with #bab3f2 background
background-color: #bab3f2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab3f2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 179, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 179, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab3f2; background: linear-gradient(135deg, #bab3f2, #E4B3F2);