#f1bafe
a pale, electric violet · warm · closest name: plum
RGB
241, 186, 254
HSL
289°, 97%, 86%
CMYK
5, 27, 0, 0
Luminance
0.6097
Every format
| HEX | #f1bafe |
| RGB | rgb(241, 186, 254) |
| HSL | hsl(289, 97%, 86%) |
| CMYK | cmyk(5%, 27%, 0%, 0%) |
| LAB | lab(82.4 31.2 -25.9) |
| LCH | lch(82.4 40.6 320.3) |
| OKLCH | oklch(0.860 0.109 319.8) |
Copy-ready code
/* CSS */
color: #f1bafe;
background-color: #f1bafe;
/* Tailwind (arbitrary) */
class="text-[#f1bafe] bg-[#f1bafe]"
/* SCSS */
$brand: #f1bafe;
/* SwiftUI */
Color(red: 0.945, green: 0.729, blue: 0.996)
/* Android */
Color.parseColor("#f1bafe")Accessibility — WCAG contrast
Aa
#f1bafe on white: 1.59:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f1bafe on black: 13.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.5%
Green72.9%
Blue99.6%
CMYK percentages
Cyan5.1%
Magenta26.8%
Yellow0.0%
Key (black)0.4%
Color previews
#f1bafe text on a black background
contrast 13.19:1
Card sample
#f1bafe text on a white background
contrast 1.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f1bafe;
Background color
Panel with #f1bafe background
background-color: #f1bafe;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f1bafe;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(241, 186, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(241, 186, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f1bafe; background: linear-gradient(135deg, #f1bafe, #FEBADE);