#b55ff9
a light, electric violet · warm · closest name: slateblue
RGB
181, 95, 249
HSL
274°, 93%, 68%
CMYK
27, 62, 0, 2
Luminance
0.2485
Every format
| HEX | #b55ff9 |
| RGB | rgb(181, 95, 249) |
| HSL | hsl(274, 93%, 68%) |
| CMYK | cmyk(27%, 62%, 0%, 2%) |
| LAB | lab(56.9 61.1 -63.5) |
| LCH | lch(56.9 88.2 313.9) |
| OKLCH | oklch(0.655 0.225 306.9) |
Copy-ready code
/* CSS */
color: #b55ff9;
background-color: #b55ff9;
/* Tailwind (arbitrary) */
class="text-[#b55ff9] bg-[#b55ff9]"
/* SCSS */
$brand: #b55ff9;
/* SwiftUI */
Color(red: 0.710, green: 0.373, blue: 0.976)
/* Android */
Color.parseColor("#b55ff9")Accessibility — WCAG contrast
Aa
#b55ff9 on white: 3.52:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#b55ff9 on black: 5.97:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red71.0%
Green37.3%
Blue97.6%
CMYK percentages
Cyan27.3%
Magenta61.8%
Yellow0.0%
Key (black)2.4%
Color previews
#b55ff9 text on a black background
contrast 5.97:1
Card sample
#b55ff9 text on a white background
contrast 3.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b55ff9;
Background color
Panel with #b55ff9 background
background-color: #b55ff9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b55ff9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(181, 95, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 95, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b55ff9; background: linear-gradient(135deg, #b55ff9, #F95FD6);