#b49af2
a light, electric violet · warm · closest name: plum
RGB
180, 154, 242
HSL
258°, 77%, 78%
CMYK
26, 36, 0, 5
Luminance
0.3923
Every format
| HEX | #b49af2 |
| RGB | rgb(180, 154, 242) |
| HSL | hsl(258, 77%, 78%) |
| CMYK | cmyk(26%, 36%, 0%, 5%) |
| LAB | lab(68.9 27.7 -40.7) |
| LCH | lch(68.9 49.2 304.2) |
| OKLCH | oklch(0.743 0.127 296.8) |
Copy-ready code
/* CSS */
color: #b49af2;
background-color: #b49af2;
/* Tailwind (arbitrary) */
class="text-[#b49af2] bg-[#b49af2]"
/* SCSS */
$brand: #b49af2;
/* SwiftUI */
Color(red: 0.706, green: 0.604, blue: 0.949)
/* Android */
Color.parseColor("#b49af2")Accessibility — WCAG contrast
Aa
#b49af2 on white: 2.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b49af2 on black: 8.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green60.4%
Blue94.9%
CMYK percentages
Cyan25.6%
Magenta36.4%
Yellow0.0%
Key (black)5.1%
Color previews
#b49af2 text on a black background
contrast 8.85:1
Card sample
#b49af2 text on a white background
contrast 2.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b49af2;
Background color
Panel with #b49af2 background
background-color: #b49af2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b49af2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 154, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 154, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b49af2; background: linear-gradient(135deg, #b49af2, #EF9AF2);