#bba8f2
a light, vivid violet · warm · closest name: plum
RGB
187, 168, 242
HSL
255°, 74%, 80%
CMYK
23, 31, 0, 5
Luminance
0.4498
Every format
| HEX | #bba8f2 |
| RGB | rgb(187, 168, 242) |
| HSL | hsl(255, 74%, 80%) |
| CMYK | cmyk(23%, 31%, 0%, 5%) |
| LAB | lab(72.9 21.9 -34.5) |
| LCH | lch(72.9 40.8 302.5) |
| OKLCH | oklch(0.775 0.106 295.6) |
Copy-ready code
/* CSS */
color: #bba8f2;
background-color: #bba8f2;
/* Tailwind (arbitrary) */
class="text-[#bba8f2] bg-[#bba8f2]"
/* SCSS */
$brand: #bba8f2;
/* SwiftUI */
Color(red: 0.733, green: 0.659, blue: 0.949)
/* Android */
Color.parseColor("#bba8f2")Accessibility — WCAG contrast
Aa
#bba8f2 on white: 2.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bba8f2 on black: 10.00:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green65.9%
Blue94.9%
CMYK percentages
Cyan22.7%
Magenta30.6%
Yellow0.0%
Key (black)5.1%
Color previews
#bba8f2 text on a black background
contrast 10.00:1
Card sample
#bba8f2 text on a white background
contrast 2.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bba8f2;
Background color
Panel with #bba8f2 background
background-color: #bba8f2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bba8f2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 168, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 168, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba8f2; background: linear-gradient(135deg, #bba8f2, #ECA8F2);