#b293ff
a light, electric violet · warm · closest name: slateblue
RGB
178, 147, 255
HSL
257°, 100%, 79%
CMYK
30, 42, 0, 0
Luminance
0.3755
Every format
| HEX | #b293ff |
| RGB | rgb(178, 147, 255) |
| HSL | hsl(257, 100%, 79%) |
| CMYK | cmyk(30%, 42%, 0%, 0%) |
| LAB | lab(67.7 34.2 -49.7) |
| LCH | lch(67.7 60.3 304.5) |
| OKLCH | oklch(0.735 0.154 295.6) |
Copy-ready code
/* CSS */
color: #b293ff;
background-color: #b293ff;
/* Tailwind (arbitrary) */
class="text-[#b293ff] bg-[#b293ff]"
/* SCSS */
$brand: #b293ff;
/* SwiftUI */
Color(red: 0.698, green: 0.576, blue: 1.000)
/* Android */
Color.parseColor("#b293ff")Accessibility — WCAG contrast
Aa
#b293ff on white: 2.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b293ff on black: 8.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green57.6%
Blue100.0%
CMYK percentages
Cyan30.2%
Magenta42.4%
Yellow0.0%
Key (black)0.0%
Color previews
#b293ff text on a black background
contrast 8.51:1
Card sample
#b293ff text on a white background
contrast 2.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b293ff;
Background color
Panel with #b293ff background
background-color: #b293ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b293ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 147, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 147, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b293ff; background: linear-gradient(135deg, #b293ff, #FA93FF);