#cec4db
a light, soft violet · warm · closest name: lavender
RGB
206, 196, 219
HSL
266°, 24%, 81%
CMYK
6, 11, 0, 14
Luminance
0.5772
Every format
| HEX | #cec4db |
| RGB | rgb(206, 196, 219) |
| HSL | hsl(266, 24%, 81%) |
| CMYK | cmyk(6%, 11%, 0%, 14%) |
| LAB | lab(80.6 7.8 -10.2) |
| LCH | lch(80.6 12.8 307.3) |
| OKLCH | oklch(0.836 0.033 305.3) |
Copy-ready code
/* CSS */
color: #cec4db;
background-color: #cec4db;
/* Tailwind (arbitrary) */
class="text-[#cec4db] bg-[#cec4db]"
/* SCSS */
$brand: #cec4db;
/* SwiftUI */
Color(red: 0.808, green: 0.769, blue: 0.859)
/* Android */
Color.parseColor("#cec4db")Accessibility — WCAG contrast
Aa
#cec4db on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cec4db on black: 12.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green76.9%
Blue85.9%
CMYK percentages
Cyan5.9%
Magenta10.5%
Yellow0.0%
Key (black)14.1%
Color previews
#cec4db text on a black background
contrast 12.54:1
Card sample
#cec4db text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cec4db;
Background color
Panel with #cec4db background
background-color: #cec4db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cec4db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 196, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 196, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cec4db; background: linear-gradient(135deg, #cec4db, #DBC4D9);