#b39fd4
a light, soft violet · warm · closest name: plum
RGB
179, 159, 212
HSL
263°, 38%, 73%
CMYK
16, 25, 0, 17
Luminance
0.3913
Every format
| HEX | #b39fd4 |
| RGB | rgb(179, 159, 212) |
| HSL | hsl(263, 38%, 73%) |
| CMYK | cmyk(16%, 25%, 0%, 17%) |
| LAB | lab(68.8 17.7 -24.3) |
| LCH | lch(68.8 30.1 306.1) |
| OKLCH | oklch(0.738 0.078 301.8) |
Copy-ready code
/* CSS */
color: #b39fd4;
background-color: #b39fd4;
/* Tailwind (arbitrary) */
class="text-[#b39fd4] bg-[#b39fd4]"
/* SCSS */
$brand: #b39fd4;
/* SwiftUI */
Color(red: 0.702, green: 0.624, blue: 0.831)
/* Android */
Color.parseColor("#b39fd4")Accessibility — WCAG contrast
Aa
#b39fd4 on white: 2.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b39fd4 on black: 8.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.2%
Green62.4%
Blue83.1%
CMYK percentages
Cyan15.6%
Magenta25.0%
Yellow0.0%
Key (black)16.9%
Color previews
#b39fd4 text on a black background
contrast 8.83:1
Card sample
#b39fd4 text on a white background
contrast 2.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b39fd4;
Background color
Panel with #b39fd4 background
background-color: #b39fd4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b39fd4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(179, 159, 212, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 159, 212, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b39fd4; background: linear-gradient(135deg, #b39fd4, #D49FD2);