#b1afdb
a light, soft blue · warm · closest name: plum
RGB
177, 175, 219
HSL
243°, 38%, 77%
CMYK
19, 20, 0, 14
Luminance
0.4512
Every format
| HEX | #b1afdb |
| RGB | rgb(177, 175, 219) |
| HSL | hsl(243, 38%, 77%) |
| CMYK | cmyk(19%, 20%, 0%, 14%) |
| LAB | lab(73.0 9.8 -21.9) |
| LCH | lch(73.0 23.9 294.0) |
| OKLCH | oklch(0.771 0.062 286.9) |
Copy-ready code
/* CSS */
color: #b1afdb;
background-color: #b1afdb;
/* Tailwind (arbitrary) */
class="text-[#b1afdb] bg-[#b1afdb]"
/* SCSS */
$brand: #b1afdb;
/* SwiftUI */
Color(red: 0.694, green: 0.686, blue: 0.859)
/* Android */
Color.parseColor("#b1afdb")Accessibility — WCAG contrast
Aa
#b1afdb on white: 2.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b1afdb on black: 10.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green68.6%
Blue85.9%
CMYK percentages
Cyan19.2%
Magenta20.1%
Yellow0.0%
Key (black)14.1%
Color previews
#b1afdb text on a black background
contrast 10.02:1
Card sample
#b1afdb text on a white background
contrast 2.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b1afdb;
Background color
Panel with #b1afdb background
background-color: #b1afdb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b1afdb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 175, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 175, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b1afdb; background: linear-gradient(135deg, #b1afdb, #CEAFDB);