#b480ff
a light, electric violet · warm · closest name: slateblue
RGB
180, 128, 255
HSL
265°, 100%, 75%
CMYK
29, 50, 0, 0
Luminance
0.3236
Every format
| HEX | #b480ff |
| RGB | rgb(180, 128, 255) |
| HSL | hsl(265, 100%, 75%) |
| CMYK | cmyk(29%, 50%, 0%, 0%) |
| LAB | lab(63.6 45.2 -56.1) |
| LCH | lch(63.6 72.1 308.9) |
| OKLCH | oklch(0.705 0.184 300.7) |
Copy-ready code
/* CSS */
color: #b480ff;
background-color: #b480ff;
/* Tailwind (arbitrary) */
class="text-[#b480ff] bg-[#b480ff]"
/* SCSS */
$brand: #b480ff;
/* SwiftUI */
Color(red: 0.706, green: 0.502, blue: 1.000)
/* Android */
Color.parseColor("#b480ff")Accessibility — WCAG contrast
Aa
#b480ff on white: 2.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b480ff on black: 7.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green50.2%
Blue100.0%
CMYK percentages
Cyan29.4%
Magenta49.8%
Yellow0.0%
Key (black)0.0%
Color previews
#b480ff text on a black background
contrast 7.47:1
Card sample
#b480ff text on a white background
contrast 2.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b480ff;
Background color
Panel with #b480ff background
background-color: #b480ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b480ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 128, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 128, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b480ff; background: linear-gradient(135deg, #b480ff, #FF80F5);