#bbafef
a light, vivid blue · warm · closest name: plum
RGB
187, 175, 239
HSL
251°, 67%, 81%
CMYK
22, 27, 0, 6
Luminance
0.4746
Every format
| HEX | #bbafef |
| RGB | rgb(187, 175, 239) |
| HSL | hsl(251, 67%, 81%) |
| CMYK | cmyk(22%, 27%, 0%, 6%) |
| LAB | lab(74.5 17.4 -30.4) |
| LCH | lch(74.5 35.0 299.8) |
| OKLCH | oklch(0.787 0.091 292.8) |
Copy-ready code
/* CSS */
color: #bbafef;
background-color: #bbafef;
/* Tailwind (arbitrary) */
class="text-[#bbafef] bg-[#bbafef]"
/* SCSS */
$brand: #bbafef;
/* SwiftUI */
Color(red: 0.733, green: 0.686, blue: 0.937)
/* Android */
Color.parseColor("#bbafef")Accessibility — WCAG contrast
Aa
#bbafef on white: 2.00:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bbafef on black: 10.49:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green68.6%
Blue93.7%
CMYK percentages
Cyan21.8%
Magenta26.8%
Yellow0.0%
Key (black)6.3%
Color previews
#bbafef text on a black background
contrast 10.49:1
Card sample
#bbafef text on a white background
contrast 2.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bbafef;
Background color
Panel with #bbafef background
background-color: #bbafef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bbafef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 175, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 175, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbafef; background: linear-gradient(135deg, #bbafef, #E6AFEF);