#ba80c3
a balanced, soft magenta / pink · warm · closest name: plum
RGB
186, 128, 195
HSL
292°, 36%, 63%
CMYK
5, 34, 0, 24
Luminance
0.2982
Every format
| HEX | #ba80c3 |
| RGB | rgb(186, 128, 195) |
| HSL | hsl(292, 36%, 63%) |
| CMYK | cmyk(5%, 34%, 0%, 24%) |
| LAB | lab(61.5 33.7 -26.0) |
| LCH | lch(61.5 42.6 322.3) |
| OKLCH | oklch(0.681 0.115 322.0) |
Copy-ready code
/* CSS */
color: #ba80c3;
background-color: #ba80c3;
/* Tailwind (arbitrary) */
class="text-[#ba80c3] bg-[#ba80c3]"
/* SCSS */
$brand: #ba80c3;
/* SwiftUI */
Color(red: 0.729, green: 0.502, blue: 0.765)
/* Android */
Color.parseColor("#ba80c3")Accessibility — WCAG contrast
Aa
#ba80c3 on white: 3.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ba80c3 on black: 6.96:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green50.2%
Blue76.5%
CMYK percentages
Cyan4.6%
Magenta34.4%
Yellow0.0%
Key (black)23.5%
Color previews
#ba80c3 text on a black background
contrast 6.96:1
Card sample
#ba80c3 text on a white background
contrast 3.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba80c3;
Background color
Panel with #ba80c3 background
background-color: #ba80c3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba80c3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 128, 195, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 128, 195, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba80c3; background: linear-gradient(135deg, #ba80c3, #C3809F);