#f3afff
a light, electric magenta / pink · warm · closest name: plum
RGB
243, 175, 255
HSL
291°, 100%, 84%
CMYK
5, 31, 0, 0
Luminance
0.5693
Every format
| HEX | #f3afff |
| RGB | rgb(243, 175, 255) |
| HSL | hsl(291, 100%, 84%) |
| CMYK | cmyk(5%, 31%, 0%, 0%) |
| LAB | lab(80.1 37.9 -29.9) |
| LCH | lch(80.1 48.2 321.7) |
| OKLCH | oklch(0.844 0.130 321.4) |
Copy-ready code
/* CSS */
color: #f3afff;
background-color: #f3afff;
/* Tailwind (arbitrary) */
class="text-[#f3afff] bg-[#f3afff]"
/* SCSS */
$brand: #f3afff;
/* SwiftUI */
Color(red: 0.953, green: 0.686, blue: 1.000)
/* Android */
Color.parseColor("#f3afff")Accessibility — WCAG contrast
Aa
#f3afff on white: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f3afff on black: 12.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.3%
Green68.6%
Blue100.0%
CMYK percentages
Cyan4.7%
Magenta31.4%
Yellow0.0%
Key (black)0.0%
Color previews
#f3afff text on a black background
contrast 12.39:1
Card sample
#f3afff text on a white background
contrast 1.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f3afff;
Background color
Panel with #f3afff background
background-color: #f3afff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f3afff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(243, 175, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 175, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f3afff; background: linear-gradient(135deg, #f3afff, #FFAFD6);