#ccccf7
a pale, vivid blue · warm · closest name: lavender
RGB
204, 204, 247
HSL
240°, 73%, 88%
CMYK
17, 17, 0, 3
Luminance
0.6274
Every format
| HEX | #ccccf7 |
| RGB | rgb(204, 204, 247) |
| HSL | hsl(240, 73%, 88%) |
| CMYK | cmyk(17%, 17%, 0%, 3%) |
| LAB | lab(83.3 8.6 -21.1) |
| LCH | lch(83.3 22.7 292.1) |
| OKLCH | oklch(0.859 0.059 285.1) |
Copy-ready code
/* CSS */
color: #ccccf7;
background-color: #ccccf7;
/* Tailwind (arbitrary) */
class="text-[#ccccf7] bg-[#ccccf7]"
/* SCSS */
$brand: #ccccf7;
/* SwiftUI */
Color(red: 0.800, green: 0.800, blue: 0.969)
/* Android */
Color.parseColor("#ccccf7")Accessibility — WCAG contrast
Aa
#ccccf7 on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccccf7 on black: 13.55:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.0%
Blue96.9%
CMYK percentages
Cyan17.4%
Magenta17.4%
Yellow0.0%
Key (black)3.1%
Color previews
#ccccf7 text on a black background
contrast 13.55:1
Card sample
#ccccf7 text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccccf7;
Background color
Panel with #ccccf7 background
background-color: #ccccf7;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccccf7;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 204, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 204, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccccf7; background: linear-gradient(135deg, #ccccf7, #E9CCF7);