#cec2db
a light, soft violet · warm · closest name: lavender
RGB
206, 194, 219
HSL
269°, 26%, 81%
CMYK
6, 11, 0, 14
Luminance
0.5682
Every format
| HEX | #cec2db |
| RGB | rgb(206, 194, 219) |
| HSL | hsl(269, 26%, 81%) |
| CMYK | cmyk(6%, 11%, 0%, 14%) |
| LAB | lab(80.1 8.8 -10.9) |
| LCH | lch(80.1 14.0 308.9) |
| OKLCH | oklch(0.832 0.037 307.1) |
Copy-ready code
/* CSS */
color: #cec2db;
background-color: #cec2db;
/* Tailwind (arbitrary) */
class="text-[#cec2db] bg-[#cec2db]"
/* SCSS */
$brand: #cec2db;
/* SwiftUI */
Color(red: 0.808, green: 0.761, blue: 0.859)
/* Android */
Color.parseColor("#cec2db")Accessibility — WCAG contrast
Aa
#cec2db on white: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cec2db on black: 12.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green76.1%
Blue85.9%
CMYK percentages
Cyan5.9%
Magenta11.4%
Yellow0.0%
Key (black)14.1%
Color previews
#cec2db text on a black background
contrast 12.36:1
Card sample
#cec2db text on a white background
contrast 1.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cec2db;
Background color
Panel with #cec2db background
background-color: #cec2db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cec2db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 194, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 194, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cec2db; background: linear-gradient(135deg, #cec2db, #DBC2D7);