#ba80cd
a light, soft violet · warm · closest name: plum
RGB
186, 128, 205
HSL
285°, 44%, 65%
CMYK
9, 38, 0, 20
Luminance
0.3029
Every format
| HEX | #ba80cd |
| RGB | rgb(186, 128, 205) |
| HSL | hsl(285, 44%, 65%) |
| CMYK | cmyk(9%, 38%, 0%, 20%) |
| LAB | lab(61.9 35.7 -31.1) |
| LCH | lch(61.9 47.3 319.0) |
| OKLCH | oklch(0.686 0.126 317.5) |
Copy-ready code
/* CSS */
color: #ba80cd;
background-color: #ba80cd;
/* Tailwind (arbitrary) */
class="text-[#ba80cd] bg-[#ba80cd]"
/* SCSS */
$brand: #ba80cd;
/* SwiftUI */
Color(red: 0.729, green: 0.502, blue: 0.804)
/* Android */
Color.parseColor("#ba80cd")Accessibility — WCAG contrast
Aa
#ba80cd on white: 2.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ba80cd on black: 7.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green50.2%
Blue80.4%
CMYK percentages
Cyan9.3%
Magenta37.6%
Yellow0.0%
Key (black)19.6%
Color previews
#ba80cd text on a black background
contrast 7.06:1
Card sample
#ba80cd text on a white background
contrast 2.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba80cd;
Background color
Panel with #ba80cd background
background-color: #ba80cd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba80cd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 128, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 128, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba80cd; background: linear-gradient(135deg, #ba80cd, #CD80AD);