#bba7df
a light, vivid violet · warm · closest name: plum
RGB
187, 167, 223
HSL
261°, 47%, 77%
CMYK
16, 25, 0, 13
Luminance
0.4353
Every format
| HEX | #bba7df |
| RGB | rgb(187, 167, 223) |
| HSL | hsl(261, 47%, 77%) |
| CMYK | cmyk(16%, 25%, 0%, 13%) |
| LAB | lab(71.9 18.2 -25.6) |
| LCH | lch(71.9 31.4 305.4) |
| OKLCH | oklch(0.765 0.082 300.8) |
Copy-ready code
/* CSS */
color: #bba7df;
background-color: #bba7df;
/* Tailwind (arbitrary) */
class="text-[#bba7df] bg-[#bba7df]"
/* SCSS */
$brand: #bba7df;
/* SwiftUI */
Color(red: 0.733, green: 0.655, blue: 0.875)
/* Android */
Color.parseColor("#bba7df")Accessibility — WCAG contrast
Aa
#bba7df on white: 2.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bba7df on black: 9.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green65.5%
Blue87.5%
CMYK percentages
Cyan16.1%
Magenta25.1%
Yellow0.0%
Key (black)12.5%
Color previews
#bba7df text on a black background
contrast 9.71:1
Card sample
#bba7df text on a white background
contrast 2.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bba7df;
Background color
Panel with #bba7df background
background-color: #bba7df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bba7df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 167, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 167, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba7df; background: linear-gradient(135deg, #bba7df, #DFA7DE);