#cec7ff
a pale, electric blue · warm · closest name: plum
RGB
206, 199, 255
HSL
248°, 100%, 89%
CMYK
19, 22, 0, 0
Luminance
0.6119
Every format
| HEX | #cec7ff |
| RGB | rgb(206, 199, 255) |
| HSL | hsl(248, 100%, 89%) |
| CMYK | cmyk(19%, 22%, 0%, 0%) |
| LAB | lab(82.5 13.6 -26.6) |
| LCH | lch(82.5 29.8 297.1) |
| OKLCH | oklch(0.854 0.077 290.4) |
Copy-ready code
/* CSS */
color: #cec7ff;
background-color: #cec7ff;
/* Tailwind (arbitrary) */
class="text-[#cec7ff] bg-[#cec7ff]"
/* SCSS */
$brand: #cec7ff;
/* SwiftUI */
Color(red: 0.808, green: 0.780, blue: 1.000)
/* Android */
Color.parseColor("#cec7ff")Accessibility — WCAG contrast
Aa
#cec7ff on white: 1.59:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cec7ff on black: 13.24:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green78.0%
Blue100.0%
CMYK percentages
Cyan19.2%
Magenta22.0%
Yellow0.0%
Key (black)0.0%
Color previews
#cec7ff text on a black background
contrast 13.24:1
Card sample
#cec7ff text on a white background
contrast 1.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cec7ff;
Background color
Panel with #cec7ff background
background-color: #cec7ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cec7ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 199, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 199, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cec7ff; background: linear-gradient(135deg, #cec7ff, #F3C7FF);