#bba6df
a light, vivid violet · warm · closest name: plum
RGB
187, 166, 223
HSL
262°, 47%, 76%
CMYK
16, 26, 0, 13
Luminance
0.4316
Every format
| HEX | #bba6df |
| RGB | rgb(187, 166, 223) |
| HSL | hsl(262, 47%, 76%) |
| CMYK | cmyk(16%, 26%, 0%, 13%) |
| LAB | lab(71.7 18.8 -26.0) |
| LCH | lch(71.7 32.0 305.8) |
| OKLCH | oklch(0.763 0.083 301.3) |
Copy-ready code
/* CSS */
color: #bba6df;
background-color: #bba6df;
/* Tailwind (arbitrary) */
class="text-[#bba6df] bg-[#bba6df]"
/* SCSS */
$brand: #bba6df;
/* SwiftUI */
Color(red: 0.733, green: 0.651, blue: 0.875)
/* Android */
Color.parseColor("#bba6df")Accessibility — WCAG contrast
Aa
#bba6df on white: 2.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bba6df on black: 9.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green65.1%
Blue87.5%
CMYK percentages
Cyan16.1%
Magenta25.6%
Yellow0.0%
Key (black)12.5%
Color previews
#bba6df text on a black background
contrast 9.63:1
Card sample
#bba6df text on a white background
contrast 2.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bba6df;
Background color
Panel with #bba6df background
background-color: #bba6df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bba6df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 166, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 166, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba6df; background: linear-gradient(135deg, #bba6df, #DFA6DD);