#ccccf3
a pale, vivid blue · warm · closest name: lavender
RGB
204, 204, 243
HSL
240°, 62%, 88%
CMYK
16, 16, 0, 5
Luminance
0.6249
Every format
| HEX | #ccccf3 |
| RGB | rgb(204, 204, 243) |
| HSL | hsl(240, 62%, 88%) |
| CMYK | cmyk(16%, 16%, 0%, 5%) |
| LAB | lab(83.2 7.7 -19.1) |
| LCH | lch(83.2 20.6 292.0) |
| OKLCH | oklch(0.858 0.054 285.2) |
Copy-ready code
/* CSS */
color: #ccccf3;
background-color: #ccccf3;
/* Tailwind (arbitrary) */
class="text-[#ccccf3] bg-[#ccccf3]"
/* SCSS */
$brand: #ccccf3;
/* SwiftUI */
Color(red: 0.800, green: 0.800, blue: 0.953)
/* Android */
Color.parseColor("#ccccf3")Accessibility — WCAG contrast
Aa
#ccccf3 on white: 1.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccccf3 on black: 13.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.0%
Blue95.3%
CMYK percentages
Cyan16.0%
Magenta16.0%
Yellow0.0%
Key (black)4.7%
Color previews
#ccccf3 text on a black background
contrast 13.50:1
Card sample
#ccccf3 text on a white background
contrast 1.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccccf3;
Background color
Panel with #ccccf3 background
background-color: #ccccf3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccccf3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 204, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 204, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccccf3; background: linear-gradient(135deg, #ccccf3, #E6CCF3);