#fba7ff
a light, electric magenta / pink · warm · closest name: plum
RGB
251, 167, 255
HSL
297°, 100%, 83%
CMYK
2, 35, 0, 0
Luminance
0.5537
Every format
| HEX | #fba7ff |
| RGB | rgb(251, 167, 255) |
| HSL | hsl(297, 100%, 83%) |
| CMYK | cmyk(2%, 35%, 0%, 0%) |
| LAB | lab(79.3 44.5 -31.1) |
| LCH | lch(79.3 54.3 325.0) |
| OKLCH | oklch(0.839 0.149 325.2) |
Copy-ready code
/* CSS */
color: #fba7ff;
background-color: #fba7ff;
/* Tailwind (arbitrary) */
class="text-[#fba7ff] bg-[#fba7ff]"
/* SCSS */
$brand: #fba7ff;
/* SwiftUI */
Color(red: 0.984, green: 0.655, blue: 1.000)
/* Android */
Color.parseColor("#fba7ff")Accessibility — WCAG contrast
Aa
#fba7ff on white: 1.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fba7ff on black: 12.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.4%
Green65.5%
Blue100.0%
CMYK percentages
Cyan1.6%
Magenta34.5%
Yellow0.0%
Key (black)0.0%
Color previews
#fba7ff text on a black background
contrast 12.07:1
Card sample
#fba7ff text on a white background
contrast 1.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fba7ff;
Background color
Panel with #fba7ff background
background-color: #fba7ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fba7ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(251, 167, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(251, 167, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fba7ff; background: linear-gradient(135deg, #fba7ff, #FFA7C8);