#ccc7fe
a pale, electric blue · warm · closest name: lavender
RGB
204, 199, 254
HSL
246°, 97%, 89%
CMYK
20, 22, 0, 0
Luminance
0.6084
Every format
| HEX | #ccc7fe |
| RGB | rgb(204, 199, 254) |
| HSL | hsl(246, 97%, 89%) |
| CMYK | cmyk(20%, 22%, 0%, 0%) |
| LAB | lab(82.3 12.8 -26.3) |
| LCH | lch(82.3 29.3 295.9) |
| OKLCH | oklch(0.852 0.076 288.8) |
Copy-ready code
/* CSS */
color: #ccc7fe;
background-color: #ccc7fe;
/* Tailwind (arbitrary) */
class="text-[#ccc7fe] bg-[#ccc7fe]"
/* SCSS */
$brand: #ccc7fe;
/* SwiftUI */
Color(red: 0.800, green: 0.780, blue: 0.996)
/* Android */
Color.parseColor("#ccc7fe")Accessibility — WCAG contrast
Aa
#ccc7fe on white: 1.59:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc7fe on black: 13.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green78.0%
Blue99.6%
CMYK percentages
Cyan19.7%
Magenta21.7%
Yellow0.0%
Key (black)0.4%
Color previews
#ccc7fe text on a black background
contrast 13.17:1
Card sample
#ccc7fe text on a white background
contrast 1.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc7fe;
Background color
Panel with #ccc7fe background
background-color: #ccc7fe;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc7fe;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 199, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 199, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc7fe; background: linear-gradient(135deg, #ccc7fe, #F1C7FE);