Maroon Colors  ·  Color Library

Palettes / Colors / #CC2AFE

#CC2AFE — Vivid Purple

#CC2AFE 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 #CC2AFE 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.

#CC2AFE 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 #5BFE2A; it also sits naturally between #622AFE and #FE2AC5. In the palettes below you can see it working alongside real color combinations from our collection.

#CC2AFE · RGB 204, 42, 254

Download PNG swatch SVG

Color values

HEX#CC2AFE
RGB204, 42, 254
HSL286°, 99%, 58%
HSV286°, 83%, 100%
CMYK20%, 83%, 0%, 0%
XYZ43.62, 21.65, 95.65
Yxy21.65, 0.2711, 0.1345
CIE-Lab53.65, 85.44, -71.45
Hunter Lab46.53, 89.80, -95.37

RGB & CMYK percentages

Red 80% · Green 16% · Blue 100%

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

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

Previews

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

CSS code for #CC2AFE

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

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

Shades of #CC2AFE

#C610FE#B701EF#A401D5#8C01B7#79019D#650184#4E0165#3A004C#23002E#100014

Tints of #CC2AFE

#D13EFE#D652FE#DA62FE#DF76FE#E38AFE#E89FFF#EDB3FF#F1C2FF#F5D6FF#FAEBFF

Tones of #CC2AFE

#C439EF#BC48E0#B457D1#AC67C1#A476B2#9C85A3

Color harmonies

Complementary — #5BFE2A:

Analogous:

Triadic:

Contrast & accessibility

Against white text3.94:1 AA large only
Against black text5.33:1 AA

Best text color on #CC2AFE: #000000.

Semi-transparent (opacity) text on #CC2AFE

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

How #CC2AFE 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 · #8F9BBETritanopia · #C4A299

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 #CC2AFE 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#D731ED#D835F0#BF27EB#C942FD#C73CEE

Browse neighbouring colors

← #CC2AFD  ·  #CC2AFF →

Frequently asked questions

What color is #CC2AFE?

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

What is the RGB and HSL of #CC2AFE?

#CC2AFE is RGB 204, 42, 254 — HSL 286°, 99%, 58% — CMYK 20%, 83%, 0%, 0%.

What colors go with #CC2AFE?

Its complement is #5BFE2A; analogous partners are #622AFE and #FE2AC5. It also appears in 6+ palettes in our collection.

Can I use #CC2AFE for text?

Black text on #CC2AFE has a contrast ratio of 5.33:1 (passes WCAG AA); white text gives 3.94:1.