#ccc2df
a light, soft violet · warm · closest name: lavender
RGB
204, 194, 223
HSL
261°, 31%, 82%
CMYK
9, 13, 0, 13
Luminance
0.5675
Every format
| HEX | #ccc2df |
| RGB | rgb(204, 194, 223) |
| HSL | hsl(261, 31%, 82%) |
| CMYK | cmyk(9%, 13%, 0%, 13%) |
| LAB | lab(80.0 8.9 -13.2) |
| LCH | lch(80.0 15.9 304.2) |
| OKLCH | oklch(0.831 0.041 301.2) |
Copy-ready code
/* CSS */
color: #ccc2df;
background-color: #ccc2df;
/* Tailwind (arbitrary) */
class="text-[#ccc2df] bg-[#ccc2df]"
/* SCSS */
$brand: #ccc2df;
/* SwiftUI */
Color(red: 0.800, green: 0.761, blue: 0.875)
/* Android */
Color.parseColor("#ccc2df")Accessibility — WCAG contrast
Aa
#ccc2df on white: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc2df on black: 12.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green76.1%
Blue87.5%
CMYK percentages
Cyan8.5%
Magenta13.0%
Yellow0.0%
Key (black)12.5%
Color previews
#ccc2df text on a black background
contrast 12.35:1
Card sample
#ccc2df text on a white background
contrast 1.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc2df;
Background color
Panel with #ccc2df background
background-color: #ccc2df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc2df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 194, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 194, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc2df; background: linear-gradient(135deg, #ccc2df, #DFC2DF);