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