Maroon Colors  ·  Color Library

Palettes / Colors / #AB2FCA

#AB2FCA — Purple

#AB2FCA is a purple color we call 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 #AB2FCA 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.

#AB2FCA 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 #4ECA2F; it also sits naturally between #5E2FCA and #CA2F9C. In the palettes below you can see it working alongside real color combinations from our collection.

#AB2FCA · RGB 171, 47, 202

Download PNG swatch SVG

Color values

HEX#AB2FCA
RGB171, 47, 202
HSL288°, 62%, 49%
HSV288°, 77%, 79%
CMYK15%, 77%, 0%, 21%
XYZ28.47, 14.96, 57.26
Yxy14.96, 0.2828, 0.1485
CIE-Lab45.57, 69.15, -55.28
Hunter Lab38.67, 66.85, -65.24

RGB & CMYK percentages

Red 67% · Green 18% · Blue 79%

Cyan 15% · Magenta 77% · Yellow 0% · Key 21%

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

Previews

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

CSS code for #AB2FCA

.text { color: #AB2FCA; }
.background { background-color: #AB2FCA; }
.border { border: 3px solid #AB2FCA; }
.text-rgb { color: rgb(171, 47, 202); }
.text-hsl { color: hsl(288, 62%, 49%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AB2FCA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(171, 47, 202, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AB2FCA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(171, 47, 202, 0.8); }

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

Shades of #AB2FCA

#9D2CBA#8C27A5#7E2395#6C1E80#5E1A70#4D155B#3F114A#2D0D36#1F0925#0E0411

Tints of #AB2FCA

#B541D2#BC51D6#C466DB#CC7BE0#D48FE5#DAA0E9#E2B5EE#EAC9F2#F1DAF6#F9EEFB

Tones of #AB2FCA

#A53BBF#9E46B4#9751A9#915B9F#8A6693#847288

Color harmonies

Complementary — #4ECA2F:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.26:1 AA
Against black text3.99:1 AA large only

Best text color on #AB2FCA: #FFFFFF.

Semi-transparent (opacity) text on #AB2FCA

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

How #AB2FCA looks with color blindness

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

Protanopia · #7574A4Deuteranopia · #7D869BTritanopia · #A58780

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 600 · #C026D3Material Purple 500 · #9C27B0Tailwind purple 600 · #9333EA

Palettes with a similar color

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

Tranquil Voyage
#2CB89D · #A72FC4 · #C7A92F · #D5F0EA
Hidden Ruby Harbor
#C06ADD · #A52CCE · #9225B6 · #3F134D
Wild Ruby Opal
#3D1E6C · #A937CA · #5B2253 · #8D305D
Gentle Ruby Zephyr
#5526C5 · #A930C0 · #D63297 · #DA3C48
Serene Ruby Whisper
#1B8F79 · #A825C7 · #E0C658 · #D4F2F1
Tender Meadow
#3E278D · #A437C6 · #D978BC · #E7A8B2

Similar colors

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

#A72FC4#A52CCE#A937CA#A930C0#A825C7#A437C6#B533CF#A827D4#A632BE#B931C9#A73BD1#AC39BF

Browse neighbouring colors

← #AB2FC9  ·  #AB2FCB →

Frequently asked questions

What color is #AB2FCA?

#AB2FCA is Purple, a purple color (RGB 171, 47, 202). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #AB2FCA?

#AB2FCA is RGB 171, 47, 202 — HSL 288°, 62%, 49% — CMYK 15%, 77%, 0%, 21%.

What colors go with #AB2FCA?

Its complement is #4ECA2F; analogous partners are #5E2FCA and #CA2F9C. It also appears in 6+ palettes in our collection.

Can I use #AB2FCA for text?

White text on #AB2FCA has a contrast ratio of 5.26:1 (passes WCAG AA); black text gives 3.99:1.