#ccccfd
a pale, electric blue · warm · closest name: lavender
RGB
204, 204, 253
HSL
240°, 93%, 90%
CMYK
19, 19, 0, 1
Luminance
0.6311
Every format
| HEX | #ccccfd |
| RGB | rgb(204, 204, 253) |
| HSL | hsl(240, 93%, 90%) |
| CMYK | cmyk(19%, 19%, 0%, 1%) |
| LAB | lab(83.5 9.9 -23.9) |
| LCH | lch(83.5 25.9 292.4) |
| OKLCH | oklch(0.861 0.068 284.9) |
Copy-ready code
/* CSS */
color: #ccccfd;
background-color: #ccccfd;
/* Tailwind (arbitrary) */
class="text-[#ccccfd] bg-[#ccccfd]"
/* SCSS */
$brand: #ccccfd;
/* SwiftUI */
Color(red: 0.800, green: 0.800, blue: 0.992)
/* Android */
Color.parseColor("#ccccfd")Accessibility — WCAG contrast
Aa
#ccccfd on white: 1.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccccfd on black: 13.62:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.0%
Blue99.2%
CMYK percentages
Cyan19.4%
Magenta19.4%
Yellow0.0%
Key (black)0.8%
Color previews
#ccccfd text on a black background
contrast 13.62:1
Card sample
#ccccfd text on a white background
contrast 1.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccccfd;
Background color
Panel with #ccccfd background
background-color: #ccccfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccccfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 204, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 204, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccccfd; background: linear-gradient(135deg, #ccccfd, #EDCCFD);