#ba80df
a light, vivid violet · warm · closest name: orchid
RGB
186, 128, 223
HSL
277°, 60%, 69%
CMYK
17, 43, 0, 13
Luminance
0.3121
Every format
| HEX | #ba80df |
| RGB | rgb(186, 128, 223) |
| HSL | hsl(277, 60%, 69%) |
| CMYK | cmyk(17%, 43%, 0%, 13%) |
| LAB | lab(62.7 39.5 -39.9) |
| LCH | lch(62.7 56.2 314.7) |
| OKLCH | oklch(0.694 0.147 311.2) |
Copy-ready code
/* CSS */
color: #ba80df;
background-color: #ba80df;
/* Tailwind (arbitrary) */
class="text-[#ba80df] bg-[#ba80df]"
/* SCSS */
$brand: #ba80df;
/* SwiftUI */
Color(red: 0.729, green: 0.502, blue: 0.875)
/* Android */
Color.parseColor("#ba80df")Accessibility — WCAG contrast
Aa
#ba80df on white: 2.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ba80df on black: 7.24:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green50.2%
Blue87.5%
CMYK percentages
Cyan16.6%
Magenta42.6%
Yellow0.0%
Key (black)12.5%
Color previews
#ba80df text on a black background
contrast 7.24:1
Card sample
#ba80df text on a white background
contrast 2.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba80df;
Background color
Panel with #ba80df background
background-color: #ba80df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba80df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 128, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 128, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba80df; background: linear-gradient(135deg, #ba80df, #DF80C5);