Maroon Colors  ·  Color Library

Palettes / Colors / #CC2DEF

#CC2DEF — Vivid Purple

#CC2DEF is a purple color we call Vivid Purple, closest to the named color DarkOrchid (#9932CC). It belongs to the purple family.

Color name

Closest CSS keyword: darkorchid (#9932CC) — not an exact match. CSS darkorchid gives you #9932CC, a different color; use #CC2DEF 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.

#CC2DEF 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 #52EF2E; it also sits naturally between #6B2EEF and #EF2EB2. In the palettes below you can see it working alongside real color combinations from our collection.

#CC2DEF · RGB 204, 45, 239

Download PNG swatch SVG

Color values

HEX#CC2DEF
RGB204, 45, 239
HSL289°, 86%, 56%
HSV289°, 81%, 94%
CMYK15%, 81%, 0%, 6%
XYZ41.42, 20.95, 83.52
Yxy20.95, 0.2839, 0.1436
CIE-Lab52.89, 82.14, -64.30
Hunter Lab45.77, 85.23, -81.68

RGB & CMYK percentages

Red 80% · Green 18% · Blue 94%

Cyan 15% · Magenta 81% · Yellow 0% · Key 6%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #CC2DEF on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #CC2DEF on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #CC2DEF

.text { color: #CC2DEF; }
.background { background-color: #CC2DEF; }
.border { border: 3px solid #CC2DEF; }
.text-rgb { color: rgb(204, 45, 239); }
.text-hsl { color: hsl(289, 86%, 56%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CC2DEF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(204, 45, 239, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CC2DEF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(204, 45, 239, 0.8); }

HTML: <p style="color:#CC2DEF">Text here</p> · <div style="background-color:#CC2DEF">Div content here</div>

Shades of #CC2DEF

#C617EE#B510DA#9E0EBE#8A0CA6#760B8E#620977#4F075F#370542#23032B#100113

Tints of #CC2DEF

#D141F1#D554F2#DA67F4#DE7AF5#E38DF6#E8A0F8#ECB3F9#F1C6FB#F6D9FC#FAECFE

Tones of #CC2DEF

#C33CE2#BA4AD3#B258C6#A965B8#A173AB#97819C

Color harmonies

Complementary — #52EF2E:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.05:1 AA large only
Against black text5.19:1 AA

Best text color on #CC2DEF: #000000.

Semi-transparent (opacity) text on #CC2DEF

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 #CC2DEF: ·

How #CC2DEF looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #8786C0Deuteranopia · #909CB5Tritanopia · #C49B93

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 fuchsia 600 · #C026D3Tailwind purple 500 · #A855F7

Palettes with a similar color

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

Misty Ruby Drift
#24160D · #CC2FF8 · #395EF9 · #9A1CFD
Smoky Ruby Drift
#0E376C · #10128E · #782FE0 · #C72CE6
Wild Ember
#621090 · #C735E8 · #92ED5E · #CCF3BA
Frozen Ruby Mosaic
#880FB1 · #D731ED · #78F04F · #A1EF97
Cosmic Twilight
#0D2724 · #F9CA1E · #4D44FE · #C52CF9
Palette Bf2ef0
#BF2EF0 · #ED3EF7 · #FEECB3 · #FFF6EA

Similar colors

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

#CC2FF8#C72CE6#C735E8#D731ED#C52CF9#BF2EF0#C725E5#D835F0#D82EF7#D630E5#BF27EB#C424E6

Browse neighbouring colors

← #CC2DEE  ·  #CC2DF0 →

Frequently asked questions

What color is #CC2DEF?

#CC2DEF is Vivid Purple, a purple color (RGB 204, 45, 239). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #CC2DEF?

#CC2DEF is RGB 204, 45, 239 — HSL 289°, 86%, 56% — CMYK 15%, 81%, 0%, 6%.

What colors go with #CC2DEF?

Its complement is #52EF2E; analogous partners are #6B2EEF and #EF2EB2. It also appears in 6+ palettes in our collection.

Can I use #CC2DEF for text?

Black text on #CC2DEF has a contrast ratio of 5.19:1 (passes WCAG AA); white text gives 4.05:1.