#bdabfd
a light, electric blue · warm · closest name: plum
RGB
189, 171, 253
HSL
253°, 95%, 83%
CMYK
25, 32, 0, 1
Luminance
0.4704
Every format
| HEX | #bdabfd |
| RGB | rgb(189, 171, 253) |
| HSL | hsl(253, 95%, 83%) |
| CMYK | cmyk(25%, 32%, 0%, 1%) |
| LAB | lab(74.2 23.4 -38.3) |
| LCH | lch(74.2 44.9 301.4) |
| OKLCH | oklch(0.787 0.116 293.6) |
Copy-ready code
/* CSS */
color: #bdabfd;
background-color: #bdabfd;
/* Tailwind (arbitrary) */
class="text-[#bdabfd] bg-[#bdabfd]"
/* SCSS */
$brand: #bdabfd;
/* SwiftUI */
Color(red: 0.741, green: 0.671, blue: 0.992)
/* Android */
Color.parseColor("#bdabfd")Accessibility — WCAG contrast
Aa
#bdabfd on white: 2.02:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bdabfd on black: 10.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.1%
Green67.1%
Blue99.2%
CMYK percentages
Cyan25.3%
Magenta32.4%
Yellow0.0%
Key (black)0.8%
Color previews
#bdabfd text on a black background
contrast 10.41:1
Card sample
#bdabfd text on a white background
contrast 2.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bdabfd;
Background color
Panel with #bdabfd background
background-color: #bdabfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bdabfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(189, 171, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 171, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdabfd; background: linear-gradient(135deg, #bdabfd, #F4ABFD);