#b2baff
a light, electric blue · warm · closest name: plum
RGB
178, 186, 255
HSL
234°, 100%, 85%
CMYK
30, 27, 0, 0
Luminance
0.5180
Every format
| HEX | #b2baff |
| RGB | rgb(178, 186, 255) |
| HSL | hsl(234, 100%, 85%) |
| CMYK | cmyk(30%, 27%, 0%, 0%) |
| LAB | lab(77.2 12.5 -34.9) |
| LCH | lch(77.2 37.1 289.6) |
| OKLCH | oklch(0.808 0.098 278.8) |
Copy-ready code
/* CSS */
color: #b2baff;
background-color: #b2baff;
/* Tailwind (arbitrary) */
class="text-[#b2baff] bg-[#b2baff]"
/* SCSS */
$brand: #b2baff;
/* SwiftUI */
Color(red: 0.698, green: 0.729, blue: 1.000)
/* Android */
Color.parseColor("#b2baff")Accessibility — WCAG contrast
Aa
#b2baff on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2baff on black: 11.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green72.9%
Blue100.0%
CMYK percentages
Cyan30.2%
Magenta27.1%
Yellow0.0%
Key (black)0.0%
Color previews
#b2baff text on a black background
contrast 11.36:1
Card sample
#b2baff text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2baff;
Background color
Panel with #b2baff background
background-color: #b2baff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2baff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 186, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 186, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2baff; background: linear-gradient(135deg, #b2baff, #DDB2FF);