#ba92df
a light, vivid violet · warm · closest name: plum
RGB
186, 146, 223
HSL
271°, 55%, 72%
CMYK
17, 35, 0, 13
Luminance
0.3632
Every format
| HEX | #ba92df |
| RGB | rgb(186, 146, 223) |
| HSL | hsl(271, 55%, 72%) |
| CMYK | cmyk(17%, 35%, 0%, 13%) |
| LAB | lab(66.8 29.6 -33.5) |
| LCH | lch(66.8 44.7 311.4) |
| OKLCH | oklch(0.725 0.117 307.5) |
Copy-ready code
/* CSS */
color: #ba92df;
background-color: #ba92df;
/* Tailwind (arbitrary) */
class="text-[#ba92df] bg-[#ba92df]"
/* SCSS */
$brand: #ba92df;
/* SwiftUI */
Color(red: 0.729, green: 0.573, blue: 0.875)
/* Android */
Color.parseColor("#ba92df")Accessibility — WCAG contrast
Aa
#ba92df on white: 2.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ba92df on black: 8.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green57.3%
Blue87.5%
CMYK percentages
Cyan16.6%
Magenta34.5%
Yellow0.0%
Key (black)12.5%
Color previews
#ba92df text on a black background
contrast 8.26:1
Card sample
#ba92df text on a white background
contrast 2.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba92df;
Background color
Panel with #ba92df background
background-color: #ba92df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba92df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 146, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 146, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba92df; background: linear-gradient(135deg, #ba92df, #DF92D1);