#baaff8
a light, electric blue · warm · closest name: plum
RGB
186, 175, 248
HSL
249°, 84%, 83%
CMYK
25, 29, 0, 3
Luminance
0.4788
Every format
| HEX | #baaff8 |
| RGB | rgb(186, 175, 248) |
| HSL | hsl(249, 84%, 83%) |
| CMYK | cmyk(25%, 29%, 0%, 3%) |
| LAB | lab(74.8 19.1 -34.8) |
| LCH | lch(74.8 39.8 298.8) |
| OKLCH | oklch(0.790 0.103 290.7) |
Copy-ready code
/* CSS */
color: #baaff8;
background-color: #baaff8;
/* Tailwind (arbitrary) */
class="text-[#baaff8] bg-[#baaff8]"
/* SCSS */
$brand: #baaff8;
/* SwiftUI */
Color(red: 0.729, green: 0.686, blue: 0.973)
/* Android */
Color.parseColor("#baaff8")Accessibility — WCAG contrast
Aa
#baaff8 on white: 1.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baaff8 on black: 10.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green68.6%
Blue97.3%
CMYK percentages
Cyan25.0%
Magenta29.4%
Yellow0.0%
Key (black)2.7%
Color previews
#baaff8 text on a black background
contrast 10.58:1
Card sample
#baaff8 text on a white background
contrast 1.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baaff8;
Background color
Panel with #baaff8 background
background-color: #baaff8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baaff8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 175, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 175, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baaff8; background: linear-gradient(135deg, #baaff8, #EBAFF8);