#bab8eb
a light, vivid blue · warm · closest name: plum
RGB
186, 184, 235
HSL
242°, 56%, 82%
CMYK
21, 22, 0, 8
Luminance
0.5072
Every format
| HEX | #bab8eb |
| RGB | rgb(186, 184, 235) |
| HSL | hsl(242, 56%, 82%) |
| CMYK | cmyk(21%, 22%, 0%, 8%) |
| LAB | lab(76.5 11.2 -25.1) |
| LCH | lch(76.5 27.5 294.0) |
| OKLCH | oklch(0.802 0.072 286.5) |
Copy-ready code
/* CSS */
color: #bab8eb;
background-color: #bab8eb;
/* Tailwind (arbitrary) */
class="text-[#bab8eb] bg-[#bab8eb]"
/* SCSS */
$brand: #bab8eb;
/* SwiftUI */
Color(red: 0.729, green: 0.722, blue: 0.922)
/* Android */
Color.parseColor("#bab8eb")Accessibility — WCAG contrast
Aa
#bab8eb on white: 1.88:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab8eb on black: 11.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green72.2%
Blue92.2%
CMYK percentages
Cyan20.9%
Magenta21.7%
Yellow0.0%
Key (black)7.8%
Color previews
#bab8eb text on a black background
contrast 11.14:1
Card sample
#bab8eb text on a white background
contrast 1.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab8eb;
Background color
Panel with #bab8eb background
background-color: #bab8eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab8eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 184, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 184, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab8eb; background: linear-gradient(135deg, #bab8eb, #DCB8EB);