#ccbcdf
a light, soft violet · warm · closest name: lavender
RGB
204, 188, 223
HSL
267°, 35%, 81%
CMYK
9, 16, 0, 13
Luminance
0.5413
Every format
| HEX | #ccbcdf |
| RGB | rgb(204, 188, 223) |
| HSL | hsl(267, 35%, 81%) |
| CMYK | cmyk(9%, 16%, 0%, 13%) |
| LAB | lab(78.5 12.2 -15.4) |
| LCH | lch(78.5 19.6 308.3) |
| OKLCH | oklch(0.820 0.051 305.9) |
Copy-ready code
/* CSS */
color: #ccbcdf;
background-color: #ccbcdf;
/* Tailwind (arbitrary) */
class="text-[#ccbcdf] bg-[#ccbcdf]"
/* SCSS */
$brand: #ccbcdf;
/* SwiftUI */
Color(red: 0.800, green: 0.737, blue: 0.875)
/* Android */
Color.parseColor("#ccbcdf")Accessibility — WCAG contrast
Aa
#ccbcdf on white: 1.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccbcdf on black: 11.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green73.7%
Blue87.5%
CMYK percentages
Cyan8.5%
Magenta15.7%
Yellow0.0%
Key (black)12.5%
Color previews
#ccbcdf text on a black background
contrast 11.83:1
Card sample
#ccbcdf text on a white background
contrast 1.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccbcdf;
Background color
Panel with #ccbcdf background
background-color: #ccbcdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccbcdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 188, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 188, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccbcdf; background: linear-gradient(135deg, #ccbcdf, #DFBCDB);