#bba2d2
a light, soft violet · warm · closest name: plum
RGB
187, 162, 210
HSL
271°, 35%, 73%
CMYK
11, 23, 0, 18
Luminance
0.4106
Every format
| HEX | #bba2d2 |
| RGB | rgb(187, 162, 210) |
| HSL | hsl(271, 35%, 73%) |
| CMYK | cmyk(11%, 23%, 0%, 18%) |
| LAB | lab(70.2 18.2 -21.1) |
| LCH | lch(70.2 27.8 310.8) |
| OKLCH | oklch(0.750 0.073 308.3) |
Copy-ready code
/* CSS */
color: #bba2d2;
background-color: #bba2d2;
/* Tailwind (arbitrary) */
class="text-[#bba2d2] bg-[#bba2d2]"
/* SCSS */
$brand: #bba2d2;
/* SwiftUI */
Color(red: 0.733, green: 0.635, blue: 0.824)
/* Android */
Color.parseColor("#bba2d2")Accessibility — WCAG contrast
Aa
#bba2d2 on white: 2.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bba2d2 on black: 9.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.3%
Green63.5%
Blue82.4%
CMYK percentages
Cyan11.0%
Magenta22.9%
Yellow0.0%
Key (black)17.6%
Color previews
#bba2d2 text on a black background
contrast 9.21:1
Card sample
#bba2d2 text on a white background
contrast 2.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bba2d2;
Background color
Panel with #bba2d2 background
background-color: #bba2d2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bba2d2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(187, 162, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 162, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba2d2; background: linear-gradient(135deg, #bba2d2, #D2A2C9);