#9f80df
a light, vivid violet · warm · closest name: slateblue
RGB
159, 128, 223
HSL
260°, 60%, 69%
CMYK
29, 43, 0, 13
Luminance
0.2814
Every format
| HEX | #9f80df |
| RGB | rgb(159, 128, 223) |
| HSL | hsl(260, 60%, 69%) |
| CMYK | cmyk(29%, 43%, 0%, 13%) |
| LAB | lab(60.0 31.9 -44.3) |
| LCH | lch(60.0 54.6 305.8) |
| OKLCH | oklch(0.668 0.140 297.5) |
Copy-ready code
/* CSS */
color: #9f80df;
background-color: #9f80df;
/* Tailwind (arbitrary) */
class="text-[#9f80df] bg-[#9f80df]"
/* SCSS */
$brand: #9f80df;
/* SwiftUI */
Color(red: 0.624, green: 0.502, blue: 0.875)
/* Android */
Color.parseColor("#9f80df")Accessibility — WCAG contrast
Aa
#9f80df on white: 3.17:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#9f80df on black: 6.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.4%
Green50.2%
Blue87.5%
CMYK percentages
Cyan28.7%
Magenta42.6%
Yellow0.0%
Key (black)12.5%
Color previews
#9f80df text on a black background
contrast 6.63:1
Card sample
#9f80df text on a white background
contrast 3.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9f80df;
Background color
Panel with #9f80df background
background-color: #9f80df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9f80df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(159, 128, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 128, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9f80df; background: linear-gradient(135deg, #9f80df, #DE80DF);