#9b3fbc
a balanced, vivid violet · warm · closest name: purple
RGB
155, 63, 188
HSL
284°, 50%, 49%
CMYK
18, 67, 0, 26
Luminance
0.1415
Every format
| HEX | #9b3fbc |
| RGB | rgb(155, 63, 188) |
| HSL | hsl(284, 50%, 49%) |
| CMYK | cmyk(18%, 67%, 0%, 26%) |
| LAB | lab(44.5 57.1 -49.0) |
| LCH | lch(44.5 75.3 319.3) |
| OKLCH | oklch(0.546 0.198 315.8) |
Copy-ready code
/* CSS */
color: #9b3fbc;
background-color: #9b3fbc;
/* Tailwind (arbitrary) */
class="text-[#9b3fbc] bg-[#9b3fbc]"
/* SCSS */
$brand: #9b3fbc;
/* SwiftUI */
Color(red: 0.608, green: 0.247, blue: 0.737)
/* Android */
Color.parseColor("#9b3fbc")Accessibility — WCAG contrast
Aa
#9b3fbc on white: 5.48:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#9b3fbc on black: 3.83:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green24.7%
Blue73.7%
CMYK percentages
Cyan17.6%
Magenta66.5%
Yellow0.0%
Key (black)26.3%
Color previews
#9b3fbc text on a black background
contrast 3.83:1
Card sample
#9b3fbc text on a white background
contrast 5.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9b3fbc;
Background color
Panel with #9b3fbc background
background-color: #9b3fbc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9b3fbc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 63, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 63, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b3fbc; background: linear-gradient(135deg, #9b3fbc, #BC3F8A);