#b2afcc
a light, soft blue · warm · closest name: silver
RGB
178, 175, 204
HSL
246°, 22%, 74%
CMYK
13, 14, 0, 20
Luminance
0.4448
Every format
| HEX | #b2afcc |
| RGB | rgb(178, 175, 204) |
| HSL | hsl(246, 22%, 74%) |
| CMYK | cmyk(13%, 14%, 0%, 20%) |
| LAB | lab(72.5 6.8 -14.3) |
| LCH | lch(72.5 15.8 295.5) |
| OKLCH | oklch(0.766 0.041 290.1) |
Copy-ready code
/* CSS */
color: #b2afcc;
background-color: #b2afcc;
/* Tailwind (arbitrary) */
class="text-[#b2afcc] bg-[#b2afcc]"
/* SCSS */
$brand: #b2afcc;
/* SwiftUI */
Color(red: 0.698, green: 0.686, blue: 0.800)
/* Android */
Color.parseColor("#b2afcc")Accessibility — WCAG contrast
Aa
#b2afcc on white: 2.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2afcc on black: 9.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green68.6%
Blue80.0%
CMYK percentages
Cyan12.7%
Magenta14.2%
Yellow0.0%
Key (black)20.0%
Color previews
#b2afcc text on a black background
contrast 9.90:1
Card sample
#b2afcc text on a white background
contrast 2.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2afcc;
Background color
Panel with #b2afcc background
background-color: #b2afcc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2afcc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 175, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 175, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2afcc; background: linear-gradient(135deg, #b2afcc, #C5AFCC);