#b155ff
a light, electric violet · warm · closest name: magenta
RGB
177, 85, 255
HSL
273°, 100%, 67%
CMYK
31, 67, 0, 0
Luminance
0.2306
Every format
| HEX | #b155ff |
| RGB | rgb(177, 85, 255) |
| HSL | hsl(273, 100%, 67%) |
| CMYK | cmyk(31%, 67%, 0%, 0%) |
| LAB | lab(55.1 66.3 -69.8) |
| LCH | lch(55.1 96.2 313.5) |
| OKLCH | oklch(0.642 0.243 305.3) |
Copy-ready code
/* CSS */
color: #b155ff;
background-color: #b155ff;
/* Tailwind (arbitrary) */
class="text-[#b155ff] bg-[#b155ff]"
/* SCSS */
$brand: #b155ff;
/* SwiftUI */
Color(red: 0.694, green: 0.333, blue: 1.000)
/* Android */
Color.parseColor("#b155ff")Accessibility — WCAG contrast
Aa
#b155ff on white: 3.74:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#b155ff on black: 5.61:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green33.3%
Blue100.0%
CMYK percentages
Cyan30.6%
Magenta66.7%
Yellow0.0%
Key (black)0.0%
Color previews
#b155ff text on a black background
contrast 5.61:1
Card sample
#b155ff text on a white background
contrast 3.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b155ff;
Background color
Panel with #b155ff background
background-color: #b155ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b155ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 85, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 85, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b155ff; background: linear-gradient(135deg, #b155ff, #FF55DC);