#ba9ccf
a light, soft violet · warm · closest name: plum
RGB
186, 156, 207
HSL
275°, 35%, 71%
CMYK
10, 25, 0, 19
Luminance
0.3872
Every format
| HEX | #ba9ccf |
| RGB | rgb(186, 156, 207) |
| HSL | hsl(275, 35%, 71%) |
| CMYK | cmyk(10%, 25%, 0%, 19%) |
| LAB | lab(68.5 20.6 -21.9) |
| LCH | lch(68.5 30.1 313.2) |
| OKLCH | oklch(0.737 0.079 311.1) |
Copy-ready code
/* CSS */
color: #ba9ccf;
background-color: #ba9ccf;
/* Tailwind (arbitrary) */
class="text-[#ba9ccf] bg-[#ba9ccf]"
/* SCSS */
$brand: #ba9ccf;
/* SwiftUI */
Color(red: 0.729, green: 0.612, blue: 0.812)
/* Android */
Color.parseColor("#ba9ccf")Accessibility — WCAG contrast
Aa
#ba9ccf on white: 2.40:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ba9ccf on black: 8.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green61.2%
Blue81.2%
CMYK percentages
Cyan10.1%
Magenta24.6%
Yellow0.0%
Key (black)18.8%
Color previews
#ba9ccf text on a black background
contrast 8.74:1
Card sample
#ba9ccf text on a white background
contrast 2.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba9ccf;
Background color
Panel with #ba9ccf background
background-color: #ba9ccf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba9ccf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 156, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 156, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba9ccf; background: linear-gradient(135deg, #ba9ccf, #CF9CC2);