#ba86df
a light, vivid violet · warm · closest name: plum
RGB
186, 134, 223
HSL
275°, 58%, 70%
CMYK
17, 40, 0, 13
Luminance
0.3282
Every format
| HEX | #ba86df |
| RGB | rgb(186, 134, 223) |
| HSL | hsl(275, 58%, 70%) |
| CMYK | cmyk(17%, 40%, 0%, 13%) |
| LAB | lab(64.0 36.2 -37.8) |
| LCH | lch(64.0 52.4 313.8) |
| OKLCH | oklch(0.704 0.137 310.1) |
Copy-ready code
/* CSS */
color: #ba86df;
background-color: #ba86df;
/* Tailwind (arbitrary) */
class="text-[#ba86df] bg-[#ba86df]"
/* SCSS */
$brand: #ba86df;
/* SwiftUI */
Color(red: 0.729, green: 0.525, blue: 0.875)
/* Android */
Color.parseColor("#ba86df")Accessibility — WCAG contrast
Aa
#ba86df on white: 2.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ba86df on black: 7.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green52.5%
Blue87.5%
CMYK percentages
Cyan16.6%
Magenta39.9%
Yellow0.0%
Key (black)12.5%
Color previews
#ba86df text on a black background
contrast 7.56:1
Card sample
#ba86df text on a white background
contrast 2.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba86df;
Background color
Panel with #ba86df background
background-color: #ba86df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba86df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 134, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 134, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba86df; background: linear-gradient(135deg, #ba86df, #DF86C9);