#b48af4
a light, electric violet · warm · closest name: violet
RGB
180, 138, 244
HSL
264°, 83%, 75%
CMYK
26, 43, 0, 4
Luminance
0.3441
Every format
| HEX | #b48af4 |
| RGB | rgb(180, 138, 244) |
| HSL | hsl(264, 83%, 75%) |
| CMYK | cmyk(26%, 43%, 0%, 4%) |
| LAB | lab(65.3 37.1 -47.5) |
| LCH | lch(65.3 60.2 308.0) |
| OKLCH | oklch(0.716 0.155 300.8) |
Copy-ready code
/* CSS */
color: #b48af4;
background-color: #b48af4;
/* Tailwind (arbitrary) */
class="text-[#b48af4] bg-[#b48af4]"
/* SCSS */
$brand: #b48af4;
/* SwiftUI */
Color(red: 0.706, green: 0.541, blue: 0.957)
/* Android */
Color.parseColor("#b48af4")Accessibility — WCAG contrast
Aa
#b48af4 on white: 2.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b48af4 on black: 7.88:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green54.1%
Blue95.7%
CMYK percentages
Cyan26.2%
Magenta43.4%
Yellow0.0%
Key (black)4.3%
Color previews
#b48af4 text on a black background
contrast 7.88:1
Card sample
#b48af4 text on a white background
contrast 2.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b48af4;
Background color
Panel with #b48af4 background
background-color: #b48af4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b48af4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 138, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 138, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b48af4; background: linear-gradient(135deg, #b48af4, #F48AED);