#bba2c2
a light, soft violet · warm · closest name: plum
RGB
187, 162, 194
HSL
287°, 21%, 70%
CMYK
4, 17, 0, 24
Luminance
0.4030
Every format
| HEX | #bba2c2 |
| RGB | rgb(187, 162, 194) |
| HSL | hsl(287, 21%, 70%) |
| CMYK | cmyk(4%, 17%, 0%, 24%) |
| LAB | lab(69.7 15.0 -13.0) |
| LCH | lch(69.7 19.8 319.0) |
| OKLCH | oklch(0.744 0.053 318.8) |
Copy-ready code
/* CSS */
color: #bba2c2;
background-color: #bba2c2;
/* Tailwind (arbitrary) */
class="text-[#bba2c2] bg-[#bba2c2]"
/* SCSS */
$brand: #bba2c2;
/* SwiftUI */
Color(red: 0.733, green: 0.635, blue: 0.761)
/* Android */
Color.parseColor("#bba2c2")Accessibility — WCAG contrast
Aa
#bba2c2 on white: 2.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bba2c2 on black: 9.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green63.5%
Blue76.1%
CMYK percentages
Cyan3.6%
Magenta16.5%
Yellow0.0%
Key (black)23.9%
Color previews
#bba2c2 text on a black background
contrast 9.06:1
Card sample
#bba2c2 text on a white background
contrast 2.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bba2c2;
Background color
Panel with #bba2c2 background
background-color: #bba2c2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bba2c2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 162, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 162, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba2c2; background: linear-gradient(135deg, #bba2c2, #C2A2B4);