#9b64ac
a balanced, soft violet · warm · closest name: plum
RGB
155, 100, 172
HSL
286°, 30%, 53%
CMYK
10, 42, 0, 33
Luminance
0.1906
Every format
| HEX | #9b64ac |
| RGB | rgb(155, 100, 172) |
| HSL | hsl(286, 30%, 53%) |
| CMYK | cmyk(10%, 42%, 0%, 33%) |
| LAB | lab(50.8 34.8 -29.7) |
| LCH | lch(50.8 45.8 319.5) |
| OKLCH | oklch(0.590 0.122 317.9) |
Copy-ready code
/* CSS */
color: #9b64ac;
background-color: #9b64ac;
/* Tailwind (arbitrary) */
class="text-[#9b64ac] bg-[#9b64ac]"
/* SCSS */
$brand: #9b64ac;
/* SwiftUI */
Color(red: 0.608, green: 0.392, blue: 0.675)
/* Android */
Color.parseColor("#9b64ac")Accessibility — WCAG contrast
Aa
#9b64ac on white: 4.36:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#9b64ac on black: 4.81:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green39.2%
Blue67.5%
CMYK percentages
Cyan9.9%
Magenta41.9%
Yellow0.0%
Key (black)32.5%
Color previews
#9b64ac text on a black background
contrast 4.81:1
Card sample
#9b64ac text on a white background
contrast 4.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9b64ac;
Background color
Panel with #9b64ac background
background-color: #9b64ac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9b64ac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 100, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 100, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b64ac; background: linear-gradient(135deg, #9b64ac, #AC648D);