#bacafb
a pale, electric blue · warm · closest name: lavender
RGB
186, 202, 251
HSL
225°, 89%, 86%
CMYK
26, 20, 0, 2
Luminance
0.5965
Every format
| HEX | #bacafb |
| RGB | rgb(186, 202, 251) |
| HSL | hsl(225, 89%, 86%) |
| CMYK | cmyk(26%, 20%, 0%, 2%) |
| LAB | lab(81.6 5.1 -25.8) |
| LCH | lch(81.6 26.3 281.2) |
| OKLCH | oklch(0.844 0.071 270.7) |
Copy-ready code
/* CSS */
color: #bacafb;
background-color: #bacafb;
/* Tailwind (arbitrary) */
class="text-[#bacafb] bg-[#bacafb]"
/* SCSS */
$brand: #bacafb;
/* SwiftUI */
Color(red: 0.729, green: 0.792, blue: 0.984)
/* Android */
Color.parseColor("#bacafb")Accessibility — WCAG contrast
Aa
#bacafb on white: 1.62:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bacafb on black: 12.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green79.2%
Blue98.4%
CMYK percentages
Cyan25.9%
Magenta19.5%
Yellow0.0%
Key (black)1.6%
Color previews
#bacafb text on a black background
contrast 12.93:1
Card sample
#bacafb text on a white background
contrast 1.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bacafb;
Background color
Panel with #bacafb background
background-color: #bacafb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bacafb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 202, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 202, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bacafb; background: linear-gradient(135deg, #bacafb, #D5BAFB);