#ccc2fa
a pale, electric blue · warm · closest name: plum
RGB
204, 194, 250
HSL
251°, 85%, 87%
CMYK
18, 22, 0, 2
Luminance
0.5832
Every format
| HEX | #ccc2fa |
| RGB | rgb(204, 194, 250) |
| HSL | hsl(251, 85%, 87%) |
| CMYK | cmyk(18%, 22%, 0%, 2%) |
| LAB | lab(80.9 14.6 -26.3) |
| LCH | lch(80.9 30.1 299.0) |
| OKLCH | oklch(0.841 0.078 292.8) |
Copy-ready code
/* CSS */
color: #ccc2fa;
background-color: #ccc2fa;
/* Tailwind (arbitrary) */
class="text-[#ccc2fa] bg-[#ccc2fa]"
/* SCSS */
$brand: #ccc2fa;
/* SwiftUI */
Color(red: 0.800, green: 0.761, blue: 0.980)
/* Android */
Color.parseColor("#ccc2fa")Accessibility — WCAG contrast
Aa
#ccc2fa on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc2fa on black: 12.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green76.1%
Blue98.0%
CMYK percentages
Cyan18.4%
Magenta22.4%
Yellow0.0%
Key (black)2.0%
Color previews
#ccc2fa text on a black background
contrast 12.66:1
Card sample
#ccc2fa text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc2fa;
Background color
Panel with #ccc2fa background
background-color: #ccc2fa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc2fa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 194, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 194, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc2fa; background: linear-gradient(135deg, #ccc2fa, #F1C2FA);