#b2bafe
a light, electric blue · warm · closest name: plum
RGB
178, 186, 254
HSL
234°, 97%, 85%
CMYK
30, 27, 0, 0
Luminance
0.5174
Every format
| HEX | #b2bafe |
| RGB | rgb(178, 186, 254) |
| HSL | hsl(234, 97%, 85%) |
| CMYK | cmyk(30%, 27%, 0%, 0%) |
| LAB | lab(77.1 12.2 -34.4) |
| LCH | lch(77.1 36.5 289.5) |
| OKLCH | oklch(0.807 0.097 278.8) |
Copy-ready code
/* CSS */
color: #b2bafe;
background-color: #b2bafe;
/* Tailwind (arbitrary) */
class="text-[#b2bafe] bg-[#b2bafe]"
/* SCSS */
$brand: #b2bafe;
/* SwiftUI */
Color(red: 0.698, green: 0.729, blue: 0.996)
/* Android */
Color.parseColor("#b2bafe")Accessibility — WCAG contrast
Aa
#b2bafe on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2bafe on black: 11.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green72.9%
Blue99.6%
CMYK percentages
Cyan29.9%
Magenta26.8%
Yellow0.0%
Key (black)0.4%
Color previews
#b2bafe text on a black background
contrast 11.35:1
Card sample
#b2bafe text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2bafe;
Background color
Panel with #b2bafe background
background-color: #b2bafe;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2bafe;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 186, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 186, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2bafe; background: linear-gradient(135deg, #b2bafe, #DDB2FE);