#9155c3
a balanced, vivid violet · warm · closest name: slateblue
RGB
145, 85, 195
HSL
273°, 48%, 55%
CMYK
26, 56, 0, 24
Luminance
0.1646
Every format
| HEX | #9155c3 |
| RGB | rgb(145, 85, 195) |
| HSL | hsl(273, 48%, 55%) |
| CMYK | cmyk(26%, 56%, 0%, 24%) |
| LAB | lab(47.6 45.4 -48.2) |
| LCH | lch(47.6 66.2 313.3) |
| OKLCH | oklch(0.567 0.170 307.0) |
Copy-ready code
/* CSS */
color: #9155c3;
background-color: #9155c3;
/* Tailwind (arbitrary) */
class="text-[#9155c3] bg-[#9155c3]"
/* SCSS */
$brand: #9155c3;
/* SwiftUI */
Color(red: 0.569, green: 0.333, blue: 0.765)
/* Android */
Color.parseColor("#9155c3")Accessibility — WCAG contrast
Aa
#9155c3 on white: 4.89:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#9155c3 on black: 4.29:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.9%
Green33.3%
Blue76.5%
CMYK percentages
Cyan25.6%
Magenta56.4%
Yellow0.0%
Key (black)23.5%
Color previews
#9155c3 text on a black background
contrast 4.29:1
Card sample
#9155c3 text on a white background
contrast 4.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9155c3;
Background color
Panel with #9155c3 background
background-color: #9155c3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9155c3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(145, 85, 195, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(145, 85, 195, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9155c3; background: linear-gradient(135deg, #9155c3, #C355AC);