#b4baff
a pale, electric blue · warm · closest name: plum
RGB
180, 186, 255
HSL
235°, 100%, 85%
CMYK
29, 27, 0, 0
Luminance
0.5204
Every format
| HEX | #b4baff |
| RGB | rgb(180, 186, 255) |
| HSL | hsl(235, 100%, 85%) |
| CMYK | cmyk(29%, 27%, 0%, 0%) |
| LAB | lab(77.3 13.0 -34.7) |
| LCH | lch(77.3 37.0 290.6) |
| OKLCH | oklch(0.809 0.098 280.1) |
Copy-ready code
/* CSS */
color: #b4baff;
background-color: #b4baff;
/* Tailwind (arbitrary) */
class="text-[#b4baff] bg-[#b4baff]"
/* SCSS */
$brand: #b4baff;
/* SwiftUI */
Color(red: 0.706, green: 0.729, blue: 1.000)
/* Android */
Color.parseColor("#b4baff")Accessibility — WCAG contrast
Aa
#b4baff on white: 1.84:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b4baff on black: 11.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green72.9%
Blue100.0%
CMYK percentages
Cyan29.4%
Magenta27.1%
Yellow0.0%
Key (black)0.0%
Color previews
#b4baff text on a black background
contrast 11.41:1
Card sample
#b4baff text on a white background
contrast 1.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b4baff;
Background color
Panel with #b4baff background
background-color: #b4baff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b4baff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 186, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 186, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4baff; background: linear-gradient(135deg, #b4baff, #E0B4FF);