Palettes / Colors / #CC40FF
#CC40FF — Vivid Purple
#CC40FF is a purple color we call Vivid Purple, closest to the named color Orchid (#DA70D6). It belongs to the purple family.
Color name
Closest CSS keyword: orchid (#DA70D6) — not an exact match. CSS orchid gives you #DA70D6, a different color; use #CC40FF when you need this exact shade.
Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.
#CC40FF is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.
Its strongest partner is its complement #75FF42; it also sits naturally between #6E42FF and #FF42D3. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #CC40FF |
|---|---|
| RGB | 204, 64, 255 |
| HSL | 284°, 100%, 63% |
| HSV | 284°, 75%, 100% |
| CMYK | 20%, 75%, 0%, 0% |
| XYZ | 44.79, 23.72, 96.83 |
| Yxy | 23.72, 0.2709, 0.1435 |
| CIE-Lab | 55.81, 79.55, -68.52 |
| Hunter Lab | 48.71, 82.78, -89.74 |
RGB & CMYK percentages
Red 80% · Green 25% · Blue 100%
Cyan 20% · Magenta 75% · Yellow 0% · Key 0%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #CC40FF
.text { color: #CC40FF; }
.background { background-color: #CC40FF; }
.border { border: 3px solid #CC40FF; }
.text-rgb { color: rgb(204, 64, 255); }
.text-hsl { color: hsl(284, 100%, 63%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CC40FF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(204, 64, 255, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CC40FF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(204, 64, 255, 0.8); }
HTML: <p style="color:#CC40FF">Text here</p> · <div style="background-color:#CC40FF">Div content here</div>
Shades of #CC40FF
Tints of #CC40FF
Tones of #CC40FF
Color harmonies
Complementary — #75FF42:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 3.66:1 AA large only |
|---|---|
| Against black text | 5.74:1 AA |
Best text color on #CC40FF: #000000.
Semi-transparent (opacity) text on #CC40FF
Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:
Smaller body text shows the effect best.
Blended color: · Contrast against #CC40FF: ·
How #CC40FF looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #CC40FF rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #CC40FF?
#CC40FF is Vivid Purple, a purple color (RGB 204, 64, 255). Its closest standard named color is Orchid.
What is the RGB and HSL of #CC40FF?
#CC40FF is RGB 204, 64, 255 — HSL 284°, 100%, 63% — CMYK 20%, 75%, 0%, 0%.
What colors go with #CC40FF?
Its complement is #75FF42; analogous partners are #6E42FF and #FF42D3. It also appears in 6+ palettes in our collection.
Can I use #CC40FF for text?
Black text on #CC40FF has a contrast ratio of 5.74:1 (passes WCAG AA); white text gives 3.66:1.