Maroon Colors  ·  Color Library

Palettes / Colors / #AB51EC

#AB51EC — Vivid Purple

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

#AB51EC 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 #91EC51; it also sits naturally between #5D51EC and #EC51DF. In the palettes below you can see it working alongside real color combinations from our collection.

#AB51EC · RGB 171, 81, 236

Download PNG swatch SVG

Color values

HEX#AB51EC
RGB171, 81, 236
HSL275°, 80%, 62%
HSV275°, 66%, 93%
CMYK28%, 66%, 0%, 7%
XYZ34.88, 20.60, 81.49
Yxy20.60, 0.2546, 0.1504
CIE-Lab52.51, 62.67, -63.47
Hunter Lab45.39, 61.12, -80.13

RGB & CMYK percentages

Red 67% · Green 32% · Blue 93%

Cyan 28% · Magenta 66% · Yellow 0% · Key 7%

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

Previews

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

CSS code for #AB51EC

.text { color: #AB51EC; }
.background { background-color: #AB51EC; }
.border { border: 3px solid #AB51EC; }
.text-rgb { color: rgb(171, 81, 236); }
.text-hsl { color: hsl(275, 80%, 62%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AB51EC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(171, 81, 236, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AB51EC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(171, 81, 236, 0.8); }

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

Shades of #AB51EC

#9E35E9#9019E6#8217CF#7114B3#5F1197#4E0E7C#3D0B60#2E0849#1D052E#0C0212

Tints of #AB51EC

#B25EED#BA71EF#C17EF1#CA91F3#D19FF4#D7ACF6#E0BFF8#E7CDF9#F0DFFB#F6EDFD

Tones of #AB51EC

#A95BE1#A767D5#A672CB#A47DBF#A288B4#A093A9

Color harmonies

Complementary — #91EC51:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.10:1 AA large only
Against black text5.12:1 AA

Best text color on #AB51EC: #000000.

Semi-transparent (opacity) text on #AB51EC

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

How #AB51EC looks with color blindness

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

Protanopia · #8483C6Deuteranopia · #8990BETritanopia · #A7A9A2

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 purple 500 · #A855F7Tailwind violet 500 · #8B5CF6Tailwind purple 600 · #9333EA

Palettes with a similar color

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

Misty Ruby Monsoon
#630EA7 · #AA4CF0 · #80ED27 · #E5F7C7
Amber Harbor
#8616CC · #A94AEC · #8CEC50 · #D1F6C9
Lucky Breeze
#8A0FAB · #B44DEF · #3FDD14 · #B1F09B
Velvet Mirage
#58D7EA · #175CC0 · #2F26E7 · #A85CF1
Cosmic Ruby Bloom
#5CCA19 · #5FE639 · #AA44E8 · #DFC7F4
Palette 2e073f
#2E073F · #7A1CAC · #AD49E1 · #EBD3F8

Similar colors

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

#AA4CF0#A94AEC#B44DEF#A85CF1#AA44E8#AD49E1#A642EE#A455DE#A661E6#B958E2#B460E5#9D51DF

Browse neighbouring colors

← #AB51EB  ·  #AB51ED →

Frequently asked questions

What color is #AB51EC?

#AB51EC is Vivid Purple, a purple color (RGB 171, 81, 236). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #AB51EC?

#AB51EC is RGB 171, 81, 236 — HSL 275°, 80%, 62% — CMYK 28%, 66%, 0%, 7%.

What colors go with #AB51EC?

Its complement is #91EC51; analogous partners are #5D51EC and #EC51DF. It also appears in 6+ palettes in our collection.

Can I use #AB51EC for text?

Black text on #AB51EC has a contrast ratio of 5.12:1 (passes WCAG AA); white text gives 4.10:1.