#b18bdf
a light, vivid violet · warm · closest name: plum
RGB
177, 139, 223
HSL
267°, 57%, 71%
CMYK
21, 38, 0, 13
Luminance
0.3314
Every format
| HEX | #b18bdf |
| RGB | rgb(177, 139, 223) |
| HSL | hsl(267, 57%, 71%) |
| CMYK | cmyk(21%, 38%, 0%, 13%) |
| LAB | lab(64.3 30.8 -37.5) |
| LCH | lch(64.3 48.5 309.4) |
| OKLCH | oklch(0.704 0.126 304.2) |
Copy-ready code
/* CSS */
color: #b18bdf;
background-color: #b18bdf;
/* Tailwind (arbitrary) */
class="text-[#b18bdf] bg-[#b18bdf]"
/* SCSS */
$brand: #b18bdf;
/* SwiftUI */
Color(red: 0.694, green: 0.545, blue: 0.875)
/* Android */
Color.parseColor("#b18bdf")Accessibility — WCAG contrast
Aa
#b18bdf on white: 2.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b18bdf on black: 7.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green54.5%
Blue87.5%
CMYK percentages
Cyan20.6%
Magenta37.7%
Yellow0.0%
Key (black)12.5%
Color previews
#b18bdf text on a black background
contrast 7.63:1
Card sample
#b18bdf text on a white background
contrast 2.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b18bdf;
Background color
Panel with #b18bdf background
background-color: #b18bdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b18bdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 139, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 139, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b18bdf; background: linear-gradient(135deg, #b18bdf, #DF8BD5);