#CCC7D8 color
The hex color #CCC7D8 is a light, grayish violet.
In the RGB color model it is made of 80% red, 78% green and 84.7% blue (204, 199, 216).
Its hue angle is 258°, with 18% saturation and 81% lightness. For print, the CMYK equivalent is 6% cyan, 8% magenta, 0% yellow and 15% black.
The closest named color is Dust of the Moon (#CFC9DF), a difference of 2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 12.73:1).
#CCC7D8 color codes
| HEX | #CCC7D8 | |
|---|---|---|
| RGB | rgb(204, 199, 216) | |
| RGB percent | rgb(80%, 78%, 84.7%) | |
| HSL | hsl(258, 18%, 81%) | |
| HSV / HSB | hsv(258, 8%, 85%) | |
| CMYK | cmyk(6%, 8%, 0%, 15%) | |
| CIE LAB | lab(81.09, 4.9, -7.83) | |
| CIE LCH | lch(81.09, 9.23, 302.05) | |
| CIE XYZ | xyz(57.718, 58.642, 73.231) | |
| Decimal | 13420504 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CCC7D8, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #CCC7D8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.73:1 | Pass | Pass | Pass |
| Sample text | 1.65:1 | Fail | Fail | Fail |
| #CCC7D8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.73:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #CCC7D8 looks to people with the most common types of color vision deficiency.
#c4c9d9Protanopia
no red cones#c5c9d7Deuteranopia
no green cones#cac9ccTritanopia
no blue cones#c9c9c9Achromatopsia
no color vision
CSS examples
.background { background-color: #ccc7d8; }
.text { color: #ccc7d8; }
.border { border: 2px solid #ccc7d8; }
.transparent { background-color: rgb(204 199 216 / 50%); }
.gradient { background: linear-gradient(to right, #ccc7d8, #d5c7d8); }
Similar colors
#cfc9dfDust of the Moon#d0c4d3Mecha Kitty#d6d1dcIron Maiden#cfcbe5Foggy Plateau#bdbaceBlue Haze#cec3ddLavender Bliss#c4bad2Fog Syringa#b8b9cbCosmic
Closest common color name: Light Purple.
Questions
- What color is #CCC7D8?
- #CCC7D8 is a light, grayish violet, closest to the named color Dust of the Moon. It belongs to the gray family of colors.
- What is the RGB value of #CCC7D8?
- The RGB value is 204, 199, 216: 204 red, 199 green and 216 blue on a 0 to 255 scale.
- What is the complementary color of #CCC7D8?
- The complementary color is #D3D8C7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CCC7D8?
- Black text. Black text has a contrast ratio of 12.73:1 and white text 1.65:1. WCAG asks for at least 4.5:1 for normal text.