Maroon Colors  ·  Color Library

Palettes / Colors / #CC2FFB

#CC2FFB — Vivid Purple

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

#CC2FFB 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 #5DFB2D; it also sits naturally between #642DFB and #FB2DC4. In the palettes below you can see it working alongside real color combinations from our collection.

#CC2FFB · RGB 204, 47, 251

Download PNG swatch SVG

Color values

HEX#CC2FFB
RGB204, 47, 251
HSL286°, 96%, 58%
HSV286°, 81%, 98%
CMYK19%, 81%, 0%, 2%
XYZ43.33, 21.84, 93.20
Yxy21.84, 0.2736, 0.1379
CIE-Lab53.85, 83.73, -69.46
Hunter Lab46.73, 87.61, -91.47

RGB & CMYK percentages

Red 80% · Green 18% · Blue 98%

Cyan 19% · Magenta 81% · Yellow 0% · Key 2%

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

Previews

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

CSS code for #CC2FFB

.text { color: #CC2FFB; }
.background { background-color: #CC2FFB; }
.border { border: 3px solid #CC2FFB; }
.text-rgb { color: rgb(204, 47, 251); }
.text-hsl { color: hsl(286, 96%, 58%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CC2FFB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(204, 47, 251, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CC2FFB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(204, 47, 251, 0.8); }

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

Shades of #CC2FFB

#C514FA#B505EB#A204D2#8B04B4#78039B#640382#4D0264#3A024B#23012D#0F0014

Tints of #CC2FFB

#D041FB#D555FC#D864FC#DD78FC#E28CFD#E7A0FD#ECB4FD#F0C3FE#F5D7FE#FAEBFF

Tones of #CC2FFB

#C33CEC#BB4ADE#B359CF#AB68C0#A377B1#9C85A3

Color harmonies

Complementary — #5DFB2D:

Analogous:

Triadic:

Contrast & accessibility

Against white text3.91:1 AA large only
Against black text5.37:1 AA

Best text color on #CC2FFB: #000000.

Semi-transparent (opacity) text on #CC2FFB

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

How #CC2FFB looks with color blindness

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

Protanopia · #8887CADeuteranopia · #919DBETritanopia · #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 #CC2FFB rather than the exact color:

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

Browse neighbouring colors

← #CC2FFA  ·  #CC2FFC →

Frequently asked questions

What color is #CC2FFB?

#CC2FFB is Vivid Purple, a purple color (RGB 204, 47, 251). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #CC2FFB?

#CC2FFB is RGB 204, 47, 251 — HSL 286°, 96%, 58% — CMYK 19%, 81%, 0%, 2%.

What colors go with #CC2FFB?

Its complement is #5DFB2D; analogous partners are #642DFB and #FB2DC4. It also appears in 6+ palettes in our collection.

Can I use #CC2FFB for text?

Black text on #CC2FFB has a contrast ratio of 5.37:1 (passes WCAG AA); white text gives 3.91:1.