#ceb2db
a light, soft violet · warm · closest name: plum
RGB
206, 178, 219
HSL
281°, 36%, 78%
CMYK
6, 19, 0, 14
Luminance
0.5008
Every format
| HEX | #ceb2db |
| RGB | rgb(206, 178, 219) |
| HSL | hsl(281, 36%, 78%) |
| CMYK | cmyk(6%, 19%, 0%, 14%) |
| LAB | lab(76.1 17.5 -16.9) |
| LCH | lch(76.1 24.3 316.0) |
| OKLCH | oklch(0.801 0.065 315.1) |
Copy-ready code
/* CSS */
color: #ceb2db;
background-color: #ceb2db;
/* Tailwind (arbitrary) */
class="text-[#ceb2db] bg-[#ceb2db]"
/* SCSS */
$brand: #ceb2db;
/* SwiftUI */
Color(red: 0.808, green: 0.698, blue: 0.859)
/* Android */
Color.parseColor("#ceb2db")Accessibility — WCAG contrast
Aa
#ceb2db on white: 1.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ceb2db on black: 11.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green69.8%
Blue85.9%
CMYK percentages
Cyan5.9%
Magenta18.7%
Yellow0.0%
Key (black)14.1%
Color previews
#ceb2db text on a black background
contrast 11.02:1
Card sample
#ceb2db text on a white background
contrast 1.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ceb2db;
Background color
Panel with #ceb2db background
background-color: #ceb2db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ceb2db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 178, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 178, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceb2db; background: linear-gradient(135deg, #ceb2db, #DBB2CD);