#cba5db
a light, soft violet · warm · closest name: plum
RGB
203, 165, 219
HSL
282°, 43%, 75%
CMYK
7, 25, 0, 14
Luminance
0.4472
Every format
| HEX | #cba5db |
| RGB | rgb(203, 165, 219) |
| HSL | hsl(282, 43%, 75%) |
| CMYK | cmyk(7%, 25%, 0%, 14%) |
| LAB | lab(72.7 23.6 -22.1) |
| LCH | lch(72.7 32.3 316.9) |
| OKLCH | oklch(0.774 0.086 315.8) |
Copy-ready code
/* CSS */
color: #cba5db;
background-color: #cba5db;
/* Tailwind (arbitrary) */
class="text-[#cba5db] bg-[#cba5db]"
/* SCSS */
$brand: #cba5db;
/* SwiftUI */
Color(red: 0.796, green: 0.647, blue: 0.859)
/* Android */
Color.parseColor("#cba5db")Accessibility — WCAG contrast
Aa
#cba5db on white: 2.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cba5db on black: 9.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green64.7%
Blue85.9%
CMYK percentages
Cyan7.3%
Magenta24.7%
Yellow0.0%
Key (black)14.1%
Color previews
#cba5db text on a black background
contrast 9.94:1
Card sample
#cba5db text on a white background
contrast 2.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cba5db;
Background color
Panel with #cba5db background
background-color: #cba5db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cba5db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 165, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 165, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cba5db; background: linear-gradient(135deg, #cba5db, #DBA5C7);