#8f8fab
a balanced, muted blue · warm · closest name: gray
RGB
143, 143, 171
HSL
240°, 14%, 62%
CMYK
16, 16, 0, 33
Luminance
0.2842
Every format
| HEX | #8f8fab |
| RGB | rgb(143, 143, 171) |
| HSL | hsl(240, 14%, 62%) |
| CMYK | cmyk(16%, 16%, 0%, 33%) |
| LAB | lab(60.3 5.9 -14.7) |
| LCH | lch(60.3 15.8 291.9) |
| OKLCH | oklch(0.660 0.041 285.2) |
Copy-ready code
/* CSS */
color: #8f8fab;
background-color: #8f8fab;
/* Tailwind (arbitrary) */
class="text-[#8f8fab] bg-[#8f8fab]"
/* SCSS */
$brand: #8f8fab;
/* SwiftUI */
Color(red: 0.561, green: 0.561, blue: 0.671)
/* Android */
Color.parseColor("#8f8fab")Accessibility — WCAG contrast
Aa
#8f8fab on white: 3.14:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8f8fab on black: 6.68:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.1%
Green56.1%
Blue67.1%
CMYK percentages
Cyan16.4%
Magenta16.4%
Yellow0.0%
Key (black)32.9%
Color previews
#8f8fab text on a black background
contrast 6.68:1
Card sample
#8f8fab text on a white background
contrast 3.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8f8fab;
Background color
Panel with #8f8fab background
background-color: #8f8fab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8f8fab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(143, 143, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 143, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f8fab; background: linear-gradient(135deg, #8f8fab, #A28FAB);