#CCA7FF color
The hex color #CCA7FF is a very light, vivid violet.
In the RGB color model it is made of 80% red, 65.5% green and 100% blue (204, 167, 255).
Its hue angle is 265°, with 100% saturation and 83% lightness. For print, the CMYK equivalent is 20% cyan, 35% magenta, 0% yellow and 0% black.
The closest named color is Diva (#C9A0FF), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 10.54:1).
#CCA7FF color codes
| HEX | #CCA7FF | |
|---|---|---|
| RGB | rgb(204, 167, 255) | |
| RGB percent | rgb(80%, 65.5%, 100%) | |
| HSL | hsl(265, 100%, 83%) | |
| HSV / HSB | hsv(265, 35%, 100%) | |
| CMYK | cmyk(20%, 35%, 0%, 0%) | |
| CIE LAB | lab(74.63, 30.42, -38.66) | |
| CIE LCH | lch(74.63, 49.19, 308.19) | |
| CIE XYZ | xyz(56.767, 47.695, 100.804) | |
| Decimal | 13412351 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CCA7FF, 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 #CCA7FF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.54:1 | Pass | Pass | Pass |
| Sample text | 1.99:1 | Fail | Fail | Fail |
| #CCA7FF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.99:1 | Fail | Fail | Fail |
| Sample text | 10.54: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 #CCA7FF looks to people with the most common types of color vision deficiency.
#93b7ffProtanopia
no red cones#9bb7fdDeuteranopia
no green cones#c4b5c7Tritanopia
no blue cones#b8b8b8Achromatopsia
no color vision
CSS examples
.background { background-color: #cca7ff; }
.text { color: #cca7ff; }
.border { border: 2px solid #cca7ff; }
.transparent { background-color: rgb(204 167 255 / 50%); }
.gradient { background: linear-gradient(to right, #cca7ff, #f8a7ff); }
Similar colors
#c9a0ffDiva#ddaaffTestosterose#cc99eeDream Vapour#e0b0ffMauve#e0b0ffMauve Pink#cdb7faViolet Heaven#b195e4Dreamy Candy Forest#c9a0dcWisteria
Questions
- What color is #CCA7FF?
- #CCA7FF is a very light, vivid violet, closest to the named color Diva. It belongs to the purple family of colors.
- What is the RGB value of #CCA7FF?
- The RGB value is 204, 167, 255: 204 red, 167 green and 255 blue on a 0 to 255 scale.
- What is the complementary color of #CCA7FF?
- The complementary color is #DAFFA7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CCA7FF?
- Black text. Black text has a contrast ratio of 10.54:1 and white text 1.99:1. WCAG asks for at least 4.5:1 for normal text.