#f8aaff
a light, electric magenta / pink · warm · closest name: plum
RGB
248, 170, 255
HSL
295°, 100%, 83%
CMYK
3, 33, 0, 0
Luminance
0.5593
Every format
| HEX | #f8aaff |
| RGB | rgb(248, 170, 255) |
| HSL | hsl(295, 100%, 83%) |
| CMYK | cmyk(3%, 33%, 0%, 0%) |
| LAB | lab(79.6 42.0 -30.7) |
| LCH | lch(79.6 52.0 323.9) |
| OKLCH | oklch(0.841 0.142 323.9) |
Copy-ready code
/* CSS */
color: #f8aaff;
background-color: #f8aaff;
/* Tailwind (arbitrary) */
class="text-[#f8aaff] bg-[#f8aaff]"
/* SCSS */
$brand: #f8aaff;
/* SwiftUI */
Color(red: 0.973, green: 0.667, blue: 1.000)
/* Android */
Color.parseColor("#f8aaff")Accessibility — WCAG contrast
Aa
#f8aaff on white: 1.72:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f8aaff on black: 12.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red97.3%
Green66.7%
Blue100.0%
CMYK percentages
Cyan2.7%
Magenta33.3%
Yellow0.0%
Key (black)0.0%
Color previews
#f8aaff text on a black background
contrast 12.19:1
Card sample
#f8aaff text on a white background
contrast 1.72:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f8aaff;
Background color
Panel with #f8aaff background
background-color: #f8aaff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f8aaff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(248, 170, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(248, 170, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f8aaff; background: linear-gradient(135deg, #f8aaff, #FFAACD);