#cec2ff
a pale, electric blue · warm · closest name: plum
RGB
206, 194, 255
HSL
252°, 100%, 88%
CMYK
19, 24, 0, 0
Luminance
0.5893
Every format
| HEX | #cec2ff |
| RGB | rgb(206, 194, 255) |
| HSL | hsl(252, 100%, 88%) |
| CMYK | cmyk(19%, 24%, 0%, 0%) |
| LAB | lab(81.3 16.3 -28.4) |
| LCH | lch(81.3 32.8 299.8) |
| OKLCH | oklch(0.845 0.085 293.5) |
Copy-ready code
/* CSS */
color: #cec2ff;
background-color: #cec2ff;
/* Tailwind (arbitrary) */
class="text-[#cec2ff] bg-[#cec2ff]"
/* SCSS */
$brand: #cec2ff;
/* SwiftUI */
Color(red: 0.808, green: 0.761, blue: 1.000)
/* Android */
Color.parseColor("#cec2ff")Accessibility — WCAG contrast
Aa
#cec2ff on white: 1.64:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cec2ff on black: 12.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green76.1%
Blue100.0%
CMYK percentages
Cyan19.2%
Magenta23.9%
Yellow0.0%
Key (black)0.0%
Color previews
#cec2ff text on a black background
contrast 12.79:1
Card sample
#cec2ff text on a white background
contrast 1.64:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cec2ff;
Background color
Panel with #cec2ff background
background-color: #cec2ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cec2ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 194, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 194, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cec2ff; background: linear-gradient(135deg, #cec2ff, #F7C2FF);