#b48eb4
a balanced, soft magenta / pink · warm · closest name: plum
RGB
180, 142, 180
HSL
300°, 20%, 63%
CMYK
0, 21, 0, 29
Luminance
0.3234
Every format
| HEX | #b48eb4 |
| RGB | rgb(180, 142, 180) |
| HSL | hsl(300, 20%, 63%) |
| CMYK | cmyk(0%, 21%, 0%, 29%) |
| LAB | lab(63.6 21.0 -14.4) |
| LCH | lch(63.6 25.4 325.6) |
| OKLCH | oklch(0.695 0.070 326.3) |
Copy-ready code
/* CSS */
color: #b48eb4;
background-color: #b48eb4;
/* Tailwind (arbitrary) */
class="text-[#b48eb4] bg-[#b48eb4]"
/* SCSS */
$brand: #b48eb4;
/* SwiftUI */
Color(red: 0.706, green: 0.557, blue: 0.706)
/* Android */
Color.parseColor("#b48eb4")Accessibility — WCAG contrast
Aa
#b48eb4 on white: 2.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b48eb4 on black: 7.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green55.7%
Blue70.6%
CMYK percentages
Cyan0.0%
Magenta21.1%
Yellow0.0%
Key (black)29.4%
Color previews
#b48eb4 text on a black background
contrast 7.47:1
Card sample
#b48eb4 text on a white background
contrast 2.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b48eb4;
Background color
Panel with #b48eb4 background
background-color: #b48eb4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b48eb4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 142, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 142, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b48eb4; background: linear-gradient(135deg, #b48eb4, #B48E9B);