Maroon Colors  ·  Color Library

Palettes / Colors / #CC2AFF

#CC2AFF — Vivid Purple

#CC2AFF is a purple color we call Vivid Purple, closest to the named color Fuchsia (#FF00FF). It belongs to the purple family.

Color name

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

#CC2AFF 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 #5BFF29; it also sits naturally between #6229FF and #FF29C6. In the palettes below you can see it working alongside real color combinations from our collection.

#CC2AFF · RGB 204, 42, 255

Download PNG swatch SVG

Color values

HEX#CC2AFF
RGB204, 42, 255
HSL286°, 100%, 58%
HSV286°, 84%, 100%
CMYK20%, 84%, 0%, 0%
XYZ43.78, 21.71, 96.49
Yxy21.71, 0.2703, 0.1340
CIE-Lab53.72, 85.62, -71.90
Hunter Lab46.60, 90.06, -96.26

RGB & CMYK percentages

Red 80% · Green 16% · Blue 100%

Cyan 20% · Magenta 84% · Yellow 0% · Key 0%

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

Previews

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

CSS code for #CC2AFF

.text { color: #CC2AFF; }
.background { background-color: #CC2AFF; }
.border { border: 3px solid #CC2AFF; }
.text-rgb { color: rgb(204, 42, 255); }
.text-hsl { color: hsl(286, 100%, 58%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CC2AFF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(204, 42, 255, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CC2AFF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(204, 42, 255, 0.8); }

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

Shades of #CC2AFF

#C70FFF#B800F0#A400D6#8D00B8#79009E#660085#4E0066#3B004D#23002E#100014

Tints of #CC2AFF

#D23DFF#D752FF#DA61FF#DF75FF#E48AFF#E89EFF#EDB3FF#F1C2FF#F5D6FF#FAEBFF

Tones of #CC2AFF

#C538F0#BC48E0#B457D1#AC66C2#A475B3#9C85A3

Color harmonies

Complementary — #5BFF29:

Analogous:

Triadic:

Contrast & accessibility

Against white text3.93:1 AA large only
Against black text5.34:1 AA

Best text color on #CC2AFF: #000000.

Semi-transparent (opacity) text on #CC2AFF

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

How #CC2AFF looks with color blindness

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

Protanopia · #8684CBDeuteranopia · #8F9BBFTritanopia · #C4A39A

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 #CC2AFF rather than the exact color:

Misty Ruby Drift
#24160D · #CC2FF8 · #395EF9 · #9A1CFD
Cosmic Twilight
#0D2724 · #F9CA1E · #4D44FE · #C52CF9
Hidden Twilight
#0C2314 · #F8185B · #4172FD · #D930FC
Amber Ruby Canyon
#0E1A22 · #43F784 · #F8A321 · #D82EF7
Cosmic Ruby Lagoon
#38180C · #C93DFB · #ABF723 · #FB2AC9
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#C52CF9#D930FC#D82EF7#C93DFB#BF2EF0#B931FC#D835F0#D731ED#BF27EB#C942FD#C313FA

Browse neighbouring colors

← #CC2AFE  ·  #CC2B00 →

Frequently asked questions

What color is #CC2AFF?

#CC2AFF is Vivid Purple, a purple color (RGB 204, 42, 255). Its closest standard named color is Fuchsia.

What is the RGB and HSL of #CC2AFF?

#CC2AFF is RGB 204, 42, 255 — HSL 286°, 100%, 58% — CMYK 20%, 84%, 0%, 0%.

What colors go with #CC2AFF?

Its complement is #5BFF29; analogous partners are #6229FF and #FF29C6. It also appears in 6+ palettes in our collection.

Can I use #CC2AFF for text?

Black text on #CC2AFF has a contrast ratio of 5.34:1 (passes WCAG AA); white text gives 3.93:1.