#bab5eb
a light, vivid blue · warm · closest name: plum
RGB
186, 181, 235
HSL
246°, 57%, 82%
CMYK
21, 23, 0, 8
Luminance
0.4949
Every format
| HEX | #bab5eb |
| RGB | rgb(186, 181, 235) |
| HSL | hsl(246, 57%, 82%) |
| CMYK | cmyk(21%, 23%, 0%, 8%) |
| LAB | lab(75.8 12.8 -26.3) |
| LCH | lch(75.8 29.2 296.1) |
| OKLCH | oklch(0.796 0.076 288.8) |
Copy-ready code
/* CSS */
color: #bab5eb;
background-color: #bab5eb;
/* Tailwind (arbitrary) */
class="text-[#bab5eb] bg-[#bab5eb]"
/* SCSS */
$brand: #bab5eb;
/* SwiftUI */
Color(red: 0.729, green: 0.710, blue: 0.922)
/* Android */
Color.parseColor("#bab5eb")Accessibility — WCAG contrast
Aa
#bab5eb on white: 1.93:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab5eb on black: 10.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green71.0%
Blue92.2%
CMYK percentages
Cyan20.9%
Magenta23.0%
Yellow0.0%
Key (black)7.8%
Color previews
#bab5eb text on a black background
contrast 10.90:1
Card sample
#bab5eb text on a white background
contrast 1.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab5eb;
Background color
Panel with #bab5eb background
background-color: #bab5eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab5eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 181, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 181, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab5eb; background: linear-gradient(135deg, #bab5eb, #DEB5EB);