#ccccff
a pale, electric blue · warm · closest name: lavender
RGB
204, 204, 255
HSL
240°, 100%, 90%
CMYK
20, 20, 0, 0
Luminance
0.6324
Every format
| HEX | #ccccff |
| RGB | rgb(204, 204, 255) |
| HSL | hsl(240, 100%, 90%) |
| CMYK | cmyk(20%, 20%, 0%, 0%) |
| LAB | lab(83.6 10.3 -24.9) |
| LCH | lch(83.6 27.0 292.5) |
| OKLCH | oklch(0.862 0.070 284.8) |
Copy-ready code
/* CSS */
color: #ccccff;
background-color: #ccccff;
/* Tailwind (arbitrary) */
class="text-[#ccccff] bg-[#ccccff]"
/* SCSS */
$brand: #ccccff;
/* SwiftUI */
Color(red: 0.800, green: 0.800, blue: 1.000)
/* Android */
Color.parseColor("#ccccff")Accessibility — WCAG contrast
Aa
#ccccff on white: 1.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccccff on black: 13.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.0%
Blue100.0%
CMYK percentages
Cyan20.0%
Magenta20.0%
Yellow0.0%
Key (black)0.0%
Color previews
#ccccff text on a black background
contrast 13.65:1
Card sample
#ccccff text on a white background
contrast 1.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccccff;
Background color
Panel with #ccccff background
background-color: #ccccff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccccff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 204, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 204, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccccff; background: linear-gradient(135deg, #ccccff, #EECCFF);