#cab2db
a light, soft violet · warm · closest name: plum
RGB
202, 178, 219
HSL
275°, 36%, 78%
CMYK
8, 19, 0, 14
Luminance
0.4951
Every format
| HEX | #cab2db |
| RGB | rgb(202, 178, 219) |
| HSL | hsl(275, 36%, 78%) |
| CMYK | cmyk(8%, 19%, 0%, 14%) |
| LAB | lab(75.8 16.1 -17.4) |
| LCH | lch(75.8 23.8 312.8) |
| OKLCH | oklch(0.797 0.063 311.2) |
Copy-ready code
/* CSS */
color: #cab2db;
background-color: #cab2db;
/* Tailwind (arbitrary) */
class="text-[#cab2db] bg-[#cab2db]"
/* SCSS */
$brand: #cab2db;
/* SwiftUI */
Color(red: 0.792, green: 0.698, blue: 0.859)
/* Android */
Color.parseColor("#cab2db")Accessibility — WCAG contrast
Aa
#cab2db on white: 1.93:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cab2db on black: 10.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.2%
Green69.8%
Blue85.9%
CMYK percentages
Cyan7.8%
Magenta18.7%
Yellow0.0%
Key (black)14.1%
Color previews
#cab2db text on a black background
contrast 10.90:1
Card sample
#cab2db text on a white background
contrast 1.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cab2db;
Background color
Panel with #cab2db background
background-color: #cab2db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cab2db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(202, 178, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 178, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cab2db; background: linear-gradient(135deg, #cab2db, #DBB2D1);