#bba5ff
a light, electric blue · warm · closest name: plum
RGB
187, 165, 255
HSL
255°, 100%, 82%
CMYK
27, 35, 0, 0
Luminance
0.4470
Every format
| HEX | #bba5ff |
| RGB | rgb(187, 165, 255) |
| HSL | hsl(255, 100%, 82%) |
| CMYK | cmyk(27%, 35%, 0%, 0%) |
| LAB | lab(72.7 26.6 -41.8) |
| LCH | lch(72.7 49.6 302.5) |
| OKLCH | oklch(0.775 0.128 294.5) |
Copy-ready code
/* CSS */
color: #bba5ff;
background-color: #bba5ff;
/* Tailwind (arbitrary) */
class="text-[#bba5ff] bg-[#bba5ff]"
/* SCSS */
$brand: #bba5ff;
/* SwiftUI */
Color(red: 0.733, green: 0.647, blue: 1.000)
/* Android */
Color.parseColor("#bba5ff")Accessibility — WCAG contrast
Aa
#bba5ff on white: 2.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bba5ff on black: 9.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green64.7%
Blue100.0%
CMYK percentages
Cyan26.7%
Magenta35.3%
Yellow0.0%
Key (black)0.0%
Color previews
#bba5ff text on a black background
contrast 9.94:1
Card sample
#bba5ff text on a white background
contrast 2.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bba5ff;
Background color
Panel with #bba5ff background
background-color: #bba5ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bba5ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 165, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 165, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba5ff; background: linear-gradient(135deg, #bba5ff, #F7A5FF);