#f9baff
a pale, electric magenta / pink · warm · closest name: plum
RGB
249, 186, 255
HSL
295°, 100%, 87%
CMYK
2, 27, 0, 0
Luminance
0.6248
Every format
| HEX | #f9baff |
| RGB | rgb(249, 186, 255) |
| HSL | hsl(295, 100%, 87%) |
| CMYK | cmyk(2%, 27%, 0%, 0%) |
| LAB | lab(83.2 33.9 -25.2) |
| LCH | lch(83.2 42.2 323.4) |
| OKLCH | oklch(0.868 0.115 323.6) |
Copy-ready code
/* CSS */
color: #f9baff;
background-color: #f9baff;
/* Tailwind (arbitrary) */
class="text-[#f9baff] bg-[#f9baff]"
/* SCSS */
$brand: #f9baff;
/* SwiftUI */
Color(red: 0.976, green: 0.729, blue: 1.000)
/* Android */
Color.parseColor("#f9baff")Accessibility — WCAG contrast
Aa
#f9baff on white: 1.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f9baff on black: 13.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red97.6%
Green72.9%
Blue100.0%
CMYK percentages
Cyan2.4%
Magenta27.1%
Yellow0.0%
Key (black)0.0%
Color previews
#f9baff text on a black background
contrast 13.50:1
Card sample
#f9baff text on a white background
contrast 1.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f9baff;
Background color
Panel with #f9baff background
background-color: #f9baff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f9baff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(249, 186, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(249, 186, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f9baff; background: linear-gradient(135deg, #f9baff, #FFBAD7);