#bab8fd
a pale, electric blue · warm · closest name: plum
RGB
186, 184, 253
HSL
242°, 95%, 86%
CMYK
27, 27, 0, 1
Luminance
0.5181
Every format
| HEX | #bab8fd |
| RGB | rgb(186, 184, 253) |
| HSL | hsl(242, 95%, 86%) |
| CMYK | cmyk(27%, 27%, 0%, 1%) |
| LAB | lab(77.2 15.4 -33.8) |
| LCH | lch(77.2 37.1 294.5) |
| OKLCH | oklch(0.809 0.097 285.3) |
Copy-ready code
/* CSS */
color: #bab8fd;
background-color: #bab8fd;
/* Tailwind (arbitrary) */
class="text-[#bab8fd] bg-[#bab8fd]"
/* SCSS */
$brand: #bab8fd;
/* SwiftUI */
Color(red: 0.729, green: 0.722, blue: 0.992)
/* Android */
Color.parseColor("#bab8fd")Accessibility — WCAG contrast
Aa
#bab8fd on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bab8fd on black: 11.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green72.2%
Blue99.2%
CMYK percentages
Cyan26.5%
Magenta27.3%
Yellow0.0%
Key (black)0.8%
Color previews
#bab8fd text on a black background
contrast 11.36:1
Card sample
#bab8fd text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bab8fd;
Background color
Panel with #bab8fd background
background-color: #bab8fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bab8fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 184, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 184, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab8fd; background: linear-gradient(135deg, #bab8fd, #E8B8FD);