#b48ef1
a light, electric violet · warm · closest name: orchid
RGB
180, 142, 241
HSL
263°, 78%, 75%
CMYK
25, 41, 0, 6
Luminance
0.3540
Every format
| HEX | #b48ef1 |
| RGB | rgb(180, 142, 241) |
| HSL | hsl(263, 78%, 75%) |
| CMYK | cmyk(25%, 41%, 0%, 6%) |
| LAB | lab(66.1 34.2 -44.6) |
| LCH | lch(66.1 56.2 307.5) |
| OKLCH | oklch(0.721 0.144 300.5) |
Copy-ready code
/* CSS */
color: #b48ef1;
background-color: #b48ef1;
/* Tailwind (arbitrary) */
class="text-[#b48ef1] bg-[#b48ef1]"
/* SCSS */
$brand: #b48ef1;
/* SwiftUI */
Color(red: 0.706, green: 0.557, blue: 0.945)
/* Android */
Color.parseColor("#b48ef1")Accessibility — WCAG contrast
Aa
#b48ef1 on white: 2.60:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b48ef1 on black: 8.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green55.7%
Blue94.5%
CMYK percentages
Cyan25.3%
Magenta41.1%
Yellow0.0%
Key (black)5.5%
Color previews
#b48ef1 text on a black background
contrast 8.08:1
Card sample
#b48ef1 text on a white background
contrast 2.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b48ef1;
Background color
Panel with #b48ef1 background
background-color: #b48ef1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b48ef1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 142, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 142, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b48ef1; background: linear-gradient(135deg, #b48ef1, #F18EEC);