#bba3f7
a light, electric violet · warm · closest name: plum
RGB
187, 163, 247
HSL
257°, 84%, 80%
CMYK
24, 34, 0, 3
Luminance
0.4347
Every format
| HEX | #bba3f7 |
| RGB | rgb(187, 163, 247) |
| HSL | hsl(257, 84%, 80%) |
| CMYK | cmyk(24%, 34%, 0%, 3%) |
| LAB | lab(71.9 25.9 -38.7) |
| LCH | lch(71.9 46.6 303.7) |
| OKLCH | oklch(0.768 0.120 296.6) |
Copy-ready code
/* CSS */
color: #bba3f7;
background-color: #bba3f7;
/* Tailwind (arbitrary) */
class="text-[#bba3f7] bg-[#bba3f7]"
/* SCSS */
$brand: #bba3f7;
/* SwiftUI */
Color(red: 0.733, green: 0.639, blue: 0.969)
/* Android */
Color.parseColor("#bba3f7")Accessibility — WCAG contrast
Aa
#bba3f7 on white: 2.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bba3f7 on black: 9.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green63.9%
Blue96.9%
CMYK percentages
Cyan24.3%
Magenta34.0%
Yellow0.0%
Key (black)3.1%
Color previews
#bba3f7 text on a black background
contrast 9.69:1
Card sample
#bba3f7 text on a white background
contrast 2.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bba3f7;
Background color
Panel with #bba3f7 background
background-color: #bba3f7;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bba3f7;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 163, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 163, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba3f7; background: linear-gradient(135deg, #bba3f7, #F3A3F7);