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