#CCA6F2 color
#CCA6F2 is a very light, vivid violet, closest to the CSS named color plum (#DDA0DD).
Color values
| HEX | #CCA6F2 |
| RGB | rgb(204, 166, 242) |
| HSL | hsl(270, 75%, 80%) |
| CMYK | cmyk(16%, 31%, 0%, 5%) |
| Decimal | 13412082 |
| CSS | color: #CCA6F2; |
| Android | 0xFFCCA6F2 |
| Swift | UIColor(red: 0.800, green: 0.651, blue: 0.949, alpha: 1) |
Accessibility and contrast
| White text on #CCA6F2 | 2.04:1 — AA fail · AA large fail · AAA fail |
| Black text on #CCA6F2 | 10.30:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #CCA6F2
Each swatch keeps the hue and saturation of #CCA6F2 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #CCA6F2
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #CCA6F2 in code
/* CSS */
.element { color: #CCA6F2; background-color: #CCA6F2; }
.element { color: rgb(204 166 242); }
.element { color: hsl(270 75% 80%); }
/* Tailwind arbitrary value */
<div class="bg-[#CCA6F2] text-black">
/* SCSS variable */
$brand: #CCA6F2;
Frequently asked questions
What color is #CCA6F2?
#CCA6F2 is a very light, vivid violet. Its hue sits at 270° on the color wheel, with 75% saturation and 80% lightness.
What is #CCA6F2 in RGB?
#CCA6F2 converts to rgb(204, 166, 242) — 204 red, 166 green and 242 blue.
What is #CCA6F2 in CMYK?
Approximately cmyk(16%, 31%, 0%, 5%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #CCA6F2 be white or black?
Black gives the better contrast ratio (10.30:1 versus 2.04:1).
What is the complementary color of #CCA6F2?
#CCF2A6 — the hue directly opposite #CCA6F2 on the color wheel.