#ccadf7
a light, electric violet · warm · closest name: plum
RGB
204, 173, 247
HSL
265°, 82%, 82%
CMYK
17, 30, 0, 3
Luminance
0.4944
Every format
| HEX | #ccadf7 |
| RGB | rgb(204, 173, 247) |
| HSL | hsl(265, 82%, 82%) |
| CMYK | cmyk(17%, 30%, 0%, 3%) |
| LAB | lab(75.7 25.4 -32.6) |
| LCH | lch(75.7 41.4 307.8) |
| OKLCH | oklch(0.801 0.107 303.3) |
Copy-ready code
/* CSS */
color: #ccadf7;
background-color: #ccadf7;
/* Tailwind (arbitrary) */
class="text-[#ccadf7] bg-[#ccadf7]"
/* SCSS */
$brand: #ccadf7;
/* SwiftUI */
Color(red: 0.800, green: 0.678, blue: 0.969)
/* Android */
Color.parseColor("#ccadf7")Accessibility — WCAG contrast
Aa
#ccadf7 on white: 1.93:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccadf7 on black: 10.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green67.8%
Blue96.9%
CMYK percentages
Cyan17.4%
Magenta30.0%
Yellow0.0%
Key (black)3.1%
Color previews
#ccadf7 text on a black background
contrast 10.89:1
Card sample
#ccadf7 text on a white background
contrast 1.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccadf7;
Background color
Panel with #ccadf7 background
background-color: #ccadf7;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccadf7;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 173, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 173, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccadf7; background: linear-gradient(135deg, #ccadf7, #F7ADF1);