#8f80cf
a light, vivid blue · warm · closest name: plum
RGB
143, 128, 207
HSL
251°, 45%, 66%
CMYK
31, 38, 0, 19
Luminance
0.2578
Every format
| HEX | #8f80cf |
| RGB | rgb(143, 128, 207) |
| HSL | hsl(251, 45%, 66%) |
| CMYK | cmyk(31%, 38%, 0%, 19%) |
| LAB | lab(57.8 23.4 -38.8) |
| LCH | lch(57.8 45.3 301.0) |
| OKLCH | oklch(0.646 0.117 291.5) |
Copy-ready code
/* CSS */
color: #8f80cf;
background-color: #8f80cf;
/* Tailwind (arbitrary) */
class="text-[#8f80cf] bg-[#8f80cf]"
/* SCSS */
$brand: #8f80cf;
/* SwiftUI */
Color(red: 0.561, green: 0.502, blue: 0.812)
/* Android */
Color.parseColor("#8f80cf")Accessibility — WCAG contrast
Aa
#8f80cf on white: 3.41:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8f80cf on black: 6.16:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.1%
Green50.2%
Blue81.2%
CMYK percentages
Cyan30.9%
Magenta38.2%
Yellow0.0%
Key (black)18.8%
Color previews
#8f80cf text on a black background
contrast 6.16:1
Card sample
#8f80cf text on a white background
contrast 3.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8f80cf;
Background color
Panel with #8f80cf background
background-color: #8f80cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8f80cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(143, 128, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 128, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f80cf; background: linear-gradient(135deg, #8f80cf, #C480CF);