#bba5db
a light, soft violet · warm · closest name: plum
RGB
187, 165, 219
HSL
264°, 43%, 75%
CMYK
15, 25, 0, 14
Luminance
0.4259
Every format
| HEX | #bba5db |
| RGB | rgb(187, 165, 219) |
| HSL | hsl(264, 43%, 75%) |
| CMYK | cmyk(15%, 25%, 0%, 14%) |
| LAB | lab(71.3 18.4 -24.4) |
| LCH | lch(71.3 30.6 307.1) |
| OKLCH | oklch(0.759 0.080 303.2) |
Copy-ready code
/* CSS */
color: #bba5db;
background-color: #bba5db;
/* Tailwind (arbitrary) */
class="text-[#bba5db] bg-[#bba5db]"
/* SCSS */
$brand: #bba5db;
/* SwiftUI */
Color(red: 0.733, green: 0.647, blue: 0.859)
/* Android */
Color.parseColor("#bba5db")Accessibility — WCAG contrast
Aa
#bba5db on white: 2.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bba5db on black: 9.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green64.7%
Blue85.9%
CMYK percentages
Cyan14.6%
Magenta24.7%
Yellow0.0%
Key (black)14.1%
Color previews
#bba5db text on a black background
contrast 9.52:1
Card sample
#bba5db text on a white background
contrast 2.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bba5db;
Background color
Panel with #bba5db background
background-color: #bba5db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bba5db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 165, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 165, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba5db; background: linear-gradient(135deg, #bba5db, #DBA5D7);