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