#bba2dc
a light, vivid violet · warm · closest name: plum
RGB
187, 162, 220
HSL
266°, 45%, 75%
CMYK
15, 26, 0, 14
Luminance
0.4157
Every format
| HEX | #bba2dc |
| RGB | rgb(187, 162, 220) |
| HSL | hsl(266, 45%, 75%) |
| CMYK | cmyk(15%, 26%, 0%, 14%) |
| LAB | lab(70.6 20.3 -26.0) |
| LCH | lch(70.6 33.0 308.0) |
| OKLCH | oklch(0.754 0.086 304.1) |
Copy-ready code
/* CSS */
color: #bba2dc;
background-color: #bba2dc;
/* Tailwind (arbitrary) */
class="text-[#bba2dc] bg-[#bba2dc]"
/* SCSS */
$brand: #bba2dc;
/* SwiftUI */
Color(red: 0.733, green: 0.635, blue: 0.863)
/* Android */
Color.parseColor("#bba2dc")Accessibility — WCAG contrast
Aa
#bba2dc on white: 2.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bba2dc on black: 9.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green63.5%
Blue86.3%
CMYK percentages
Cyan15.0%
Magenta26.4%
Yellow0.0%
Key (black)13.7%
Color previews
#bba2dc text on a black background
contrast 9.31:1
Card sample
#bba2dc text on a white background
contrast 2.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bba2dc;
Background color
Panel with #bba2dc background
background-color: #bba2dc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bba2dc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 162, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 162, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba2dc; background: linear-gradient(135deg, #bba2dc, #DCA2D6);