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