#bba2ef
a light, vivid violet · warm · closest name: plum
RGB
187, 162, 239
HSL
260°, 71%, 79%
CMYK
22, 32, 0, 6
Luminance
0.4264
Every format
| HEX | #bba2ef |
| RGB | rgb(187, 162, 239) |
| HSL | hsl(260, 71%, 79%) |
| CMYK | cmyk(22%, 32%, 0%, 6%) |
| LAB | lab(71.3 24.6 -35.3) |
| LCH | lch(71.3 43.0 304.9) |
| OKLCH | oklch(0.762 0.111 298.7) |
Copy-ready code
/* CSS */
color: #bba2ef;
background-color: #bba2ef;
/* Tailwind (arbitrary) */
class="text-[#bba2ef] bg-[#bba2ef]"
/* SCSS */
$brand: #bba2ef;
/* SwiftUI */
Color(red: 0.733, green: 0.635, blue: 0.937)
/* Android */
Color.parseColor("#bba2ef")Accessibility — WCAG contrast
Aa
#bba2ef on white: 2.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bba2ef on black: 9.53:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green63.5%
Blue93.7%
CMYK percentages
Cyan21.8%
Magenta32.2%
Yellow0.0%
Key (black)6.3%
Color previews
#bba2ef text on a black background
contrast 9.53:1
Card sample
#bba2ef text on a white background
contrast 2.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bba2ef;
Background color
Panel with #bba2ef background
background-color: #bba2ef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bba2ef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 162, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 162, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba2ef; background: linear-gradient(135deg, #bba2ef, #EEA2EF);