Maroon Colors  ·  Color Library

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.

#CC40FF · RGB 204, 64, 255

Download PNG swatch SVG

Color values

HEX#CC40FF
RGB204, 64, 255
HSL284°, 100%, 63%
HSV284°, 75%, 100%
CMYK20%, 75%, 0%, 0%
XYZ44.79, 23.72, 96.83
Yxy23.72, 0.2709, 0.1435
CIE-Lab55.81, 79.55, -68.52
Hunter Lab48.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

Sample text in #CC40FF on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #CC40FF on white
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

#C524FF#BC05FF#A800E6#9200C7#7F00AD#69008F#520070#3C0052#250033#0F0014

Tints of #CC40FF

#D152FF#D666FF#DA75FF#DE85FF#E499FF#E8A8FF#ECB8FF#F0C7FF#F5DBFF#FAEBFF

Tones of #CC40FF

#C750F2#C05EE4#BA6BD6#B478C9#AD85BC#A793AE

Color harmonies

Complementary — #75FF42:

Analogous:

Triadic:

Contrast & accessibility

Against white text3.66:1 AA large only
Against black text5.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:

100%
Sample heading text
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:

Protanopia · #8F8ED1Deuteranopia · #98A2C6Tritanopia · #C5ACA4

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:

Tailwind fuchsia 500 · #D946EFTailwind purple 500 · #A855F7Tailwind fuchsia 600 · #C026D3

Palettes with a similar color

These palettes use a close neighbour of #CC40FF rather than the exact color:

Lucky Dusk
#200B0A · #C942FD · #2DBAFC · #B819FA
Cosmic Ruby Lagoon
#38180C · #C93DFB · #ABF723 · #FB2AC9
Tranquil Orchard
#22300B · #FA5947 · #D250FA · #FC19FD
Dreamy Dusk
#3AC911 · #8DF15B · #C73CEE · #D4A0F1
Misty Ruby Drift
#24160D · #CC2FF8 · #395EF9 · #9A1CFD
Hidden Twilight
#0C2314 · #F8185B · #4172FD · #D930FC

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#C942FD#C93DFB#D250FA#C73CEE#CC2FF8#D930FC#C94EEF#D241EA#C52CF9#D835F0#D82EF7#DF4EF9

Browse neighbouring colors

← #CC40FE  ·  #CC4100 →

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.