#f0bcff
a pale, electric violet · warm · closest name: plum
RGB
240, 188, 255
HSL
287°, 100%, 87%
CMYK
6, 26, 0, 0
Luminance
0.6171
Every format
| HEX | #f0bcff |
| RGB | rgb(240, 188, 255) |
| HSL | hsl(287, 100%, 87%) |
| CMYK | cmyk(6%, 26%, 0%, 0%) |
| LAB | lab(82.8 30.0 -25.9) |
| LCH | lch(82.8 39.6 319.3) |
| OKLCH | oklch(0.863 0.106 318.6) |
Copy-ready code
/* CSS */
color: #f0bcff;
background-color: #f0bcff;
/* Tailwind (arbitrary) */
class="text-[#f0bcff] bg-[#f0bcff]"
/* SCSS */
$brand: #f0bcff;
/* SwiftUI */
Color(red: 0.941, green: 0.737, blue: 1.000)
/* Android */
Color.parseColor("#f0bcff")Accessibility — WCAG contrast
Aa
#f0bcff on white: 1.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0bcff on black: 13.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green73.7%
Blue100.0%
CMYK percentages
Cyan5.9%
Magenta26.3%
Yellow0.0%
Key (black)0.0%
Color previews
#f0bcff text on a black background
contrast 13.34:1
Card sample
#f0bcff text on a white background
contrast 1.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0bcff;
Background color
Panel with #f0bcff background
background-color: #f0bcff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0bcff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 188, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 188, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0bcff; background: linear-gradient(135deg, #f0bcff, #FFBCE1);