#b18be4
a light, vivid violet · warm · closest name: plum
RGB
177, 139, 228
HSL
266°, 62%, 72%
CMYK
22, 39, 0, 11
Luminance
0.3341
Every format
| HEX | #b18be4 |
| RGB | rgb(177, 139, 228) |
| HSL | hsl(266, 62%, 72%) |
| CMYK | cmyk(22%, 39%, 0%, 11%) |
| LAB | lab(64.5 31.9 -39.9) |
| LCH | lch(64.5 51.1 308.7) |
| OKLCH | oklch(0.707 0.132 302.8) |
Copy-ready code
/* CSS */
color: #b18be4;
background-color: #b18be4;
/* Tailwind (arbitrary) */
class="text-[#b18be4] bg-[#b18be4]"
/* SCSS */
$brand: #b18be4;
/* SwiftUI */
Color(red: 0.694, green: 0.545, blue: 0.894)
/* Android */
Color.parseColor("#b18be4")Accessibility — WCAG contrast
Aa
#b18be4 on white: 2.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b18be4 on black: 7.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green54.5%
Blue89.4%
CMYK percentages
Cyan22.4%
Magenta39.0%
Yellow0.0%
Key (black)10.6%
Color previews
#b18be4 text on a black background
contrast 7.68:1
Card sample
#b18be4 text on a white background
contrast 2.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b18be4;
Background color
Panel with #b18be4 background
background-color: #b18be4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b18be4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 139, 228, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 139, 228, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b18be4; background: linear-gradient(135deg, #b18be4, #E48BDC);