#bba0df
a light, vivid violet · warm · closest name: plum
RGB
187, 160, 223
HSL
266°, 50%, 75%
CMYK
16, 28, 0, 13
Luminance
0.4103
Every format
| HEX | #bba0df |
| RGB | rgb(187, 160, 223) |
| HSL | hsl(266, 50%, 75%) |
| CMYK | cmyk(16%, 28%, 0%, 13%) |
| LAB | lab(70.2 22.1 -28.2) |
| LCH | lch(70.2 35.8 308.1) |
| OKLCH | oklch(0.752 0.093 303.8) |
Copy-ready code
/* CSS */
color: #bba0df;
background-color: #bba0df;
/* Tailwind (arbitrary) */
class="text-[#bba0df] bg-[#bba0df]"
/* SCSS */
$brand: #bba0df;
/* SwiftUI */
Color(red: 0.733, green: 0.627, blue: 0.875)
/* Android */
Color.parseColor("#bba0df")Accessibility — WCAG contrast
Aa
#bba0df on white: 2.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bba0df on black: 9.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green62.7%
Blue87.5%
CMYK percentages
Cyan16.1%
Magenta28.3%
Yellow0.0%
Key (black)12.5%
Color previews
#bba0df text on a black background
contrast 9.21:1
Card sample
#bba0df text on a white background
contrast 2.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bba0df;
Background color
Panel with #bba0df background
background-color: #bba0df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bba0df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 160, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 160, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba0df; background: linear-gradient(135deg, #bba0df, #DFA0D9);