#bab8f4
a light, vivid blue · warm · closest name: plum
RGB
186, 184, 244
HSL
242°, 73%, 84%
CMYK
24, 25, 0, 4
Luminance
0.5125
Every format
| HEX | #bab8f4 |
| RGB | rgb(186, 184, 244) |
| HSL | hsl(242, 73%, 84%) |
| CMYK | cmyk(24%, 25%, 0%, 4%) |
| LAB | lab(76.8 13.3 -29.5) |
| LCH | lch(76.8 32.3 294.2) |
| OKLCH | oklch(0.805 0.084 285.9) |
Copy-ready code
/* CSS */
color: #bab8f4;
background-color: #bab8f4;
/* Tailwind (arbitrary) */
class="text-[#bab8f4] bg-[#bab8f4]"
/* SCSS */
$brand: #bab8f4;
/* SwiftUI */
Color(red: 0.729, green: 0.722, blue: 0.957)
/* Android */
Color.parseColor("#bab8f4")Accessibility — WCAG contrast
Aa
#bab8f4 on white: 1.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab8f4 on black: 11.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green72.2%
Blue95.7%
CMYK percentages
Cyan23.8%
Magenta24.6%
Yellow0.0%
Key (black)4.3%
Color previews
#bab8f4 text on a black background
contrast 11.25:1
Card sample
#bab8f4 text on a white background
contrast 1.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab8f4;
Background color
Panel with #bab8f4 background
background-color: #bab8f4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab8f4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 184, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 184, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab8f4; background: linear-gradient(135deg, #bab8f4, #E2B8F4);