#ba80db
a light, vivid violet · warm · closest name: orchid
RGB
186, 128, 219
HSL
278°, 56%, 68%
CMYK
15, 42, 0, 14
Luminance
0.3099
Every format
| HEX | #ba80db |
| RGB | rgb(186, 128, 219) |
| HSL | hsl(278, 56%, 68%) |
| CMYK | cmyk(15%, 42%, 0%, 14%) |
| LAB | lab(62.5 38.7 -38.0) |
| LCH | lch(62.5 54.2 315.5) |
| OKLCH | oklch(0.692 0.142 312.4) |
Copy-ready code
/* CSS */
color: #ba80db;
background-color: #ba80db;
/* Tailwind (arbitrary) */
class="text-[#ba80db] bg-[#ba80db]"
/* SCSS */
$brand: #ba80db;
/* SwiftUI */
Color(red: 0.729, green: 0.502, blue: 0.859)
/* Android */
Color.parseColor("#ba80db")Accessibility — WCAG contrast
Aa
#ba80db on white: 2.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ba80db on black: 7.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green50.2%
Blue85.9%
CMYK percentages
Cyan15.1%
Magenta41.6%
Yellow0.0%
Key (black)14.1%
Color previews
#ba80db text on a black background
contrast 7.20:1
Card sample
#ba80db text on a white background
contrast 2.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba80db;
Background color
Panel with #ba80db background
background-color: #ba80db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba80db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 128, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 128, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba80db; background: linear-gradient(135deg, #ba80db, #DB80BF);