#b55ffb
a light, electric violet · warm · closest name: slateblue
RGB
181, 95, 251
HSL
273°, 95%, 68%
CMYK
28, 62, 0, 2
Luminance
0.2497
Every format
| HEX | #b55ffb |
| RGB | rgb(181, 95, 251) |
| HSL | hsl(273, 95%, 68%) |
| CMYK | cmyk(28%, 62%, 0%, 2%) |
| LAB | lab(57.0 61.6 -64.4) |
| LCH | lch(57.0 89.1 313.7) |
| OKLCH | oklch(0.656 0.227 306.5) |
Copy-ready code
/* CSS */
color: #b55ffb;
background-color: #b55ffb;
/* Tailwind (arbitrary) */
class="text-[#b55ffb] bg-[#b55ffb]"
/* SCSS */
$brand: #b55ffb;
/* SwiftUI */
Color(red: 0.710, green: 0.373, blue: 0.984)
/* Android */
Color.parseColor("#b55ffb")Accessibility — WCAG contrast
Aa
#b55ffb on white: 3.50:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#b55ffb on black: 5.99:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red71.0%
Green37.3%
Blue98.4%
CMYK percentages
Cyan27.9%
Magenta62.2%
Yellow0.0%
Key (black)1.6%
Color previews
#b55ffb text on a black background
contrast 5.99:1
Card sample
#b55ffb text on a white background
contrast 3.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b55ffb;
Background color
Panel with #b55ffb background
background-color: #b55ffb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b55ffb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(181, 95, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 95, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b55ffb; background: linear-gradient(135deg, #b55ffb, #FB5FD9);