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