Maroon Colors  ·  Color Library

Palettes / Colors / #8A22BC

#8A22BC — Purple

#8A22BC 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 #8A22BC 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.

#8A22BC 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 #54BE23; it also sits naturally between #3F23BE and #BE23A1. In the palettes below you can see it working alongside real color combinations from our collection.

#8A22BC · RGB 138, 34, 188

Download PNG swatch SVG

Color values

HEX#8A22BC
RGB138, 34, 188
HSL281°, 69%, 44%
HSV281°, 82%, 74%
CMYK27%, 82%, 0%, 26%
XYZ20.13, 10.18, 48.48
Yxy10.18, 0.2555, 0.1292
CIE-Lab38.16, 64.59, -59.34
Hunter Lab31.90, 59.43, -72.17

RGB & CMYK percentages

Red 54% · Green 13% · Blue 74%

Cyan 27% · Magenta 82% · Yellow 0% · Key 26%

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

Previews

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

CSS code for #8A22BC

.text { color: #8A22BC; }
.background { background-color: #8A22BC; }
.border { border: 3px solid #8A22BC; }
.text-rgb { color: rgb(138, 34, 188); }
.text-hsl { color: hsl(281, 69%, 44%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #8A22BC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(138, 34, 188, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #8A22BC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(138, 34, 188, 0.8); }

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

Shades of #8A22BC

#8020AC#731C9B#66198A#591679#4D1367#401056#330D45#260934#1A0622#0D0311

Tints of #8A22BC

#9D27D3#A739DB#B353DF#BC68E3#C67EE7#CF93EB#D9A9EF#E4C3F4#EED8F8#F7EEFC

Tones of #8A22BC

#882EB2#8439A7#80449C#7D4F92#785A87#74657B

Color harmonies

Complementary — #54BE23:

Analogous:

Triadic:

Contrast & accessibility

Against white text6.92:1 AA
Against black text3.04:1 AA large only

Best text color on #8A22BC: #FFFFFF.

Semi-transparent (opacity) text on #8A22BC

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 #8A22BC: ·

How #8A22BC looks with color blindness

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

Protanopia · #5D5C97Deuteranopia · #636B8ETritanopia · #857973

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:

Material Purple 500 · #9C27B0Material Deep Purple 500 · #673AB7Tailwind purple 600 · #9333EA

Palettes with a similar color

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

Silent Whisper
#8F20B4 · #862178 · #6D123E · #B12B38
Crystal Ruby Lagoon
#2FCFCE · #5F90D0 · #523DD2 · #8C28B4
Scarlet Ruby Drift
#921EC1 · #D777EA · #6CE13D · #CEF0BB
Dreamy Mirage
#18A27E · #8D1AB6 · #E0B027 · #B7EDE1
Hidden Ruby Harbor
#C06ADD · #A52CCE · #9225B6 · #3F134D
Dusty Tempest
#2AB584 · #862BB8 · #DAAE60 · #B5E4D3

Similar colors

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

#8F20B4#8C28B4#921EC1#8D1AB6#9225B6#862BB8#8122C2#8A25B1#912BBC#8729C5#8419B5#9120C7

Browse neighbouring colors

← #8A22BB  ·  #8A22BD →

Frequently asked questions

What color is #8A22BC?

#8A22BC is Purple, a purple color (RGB 138, 34, 188). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #8A22BC?

#8A22BC is RGB 138, 34, 188 — HSL 281°, 69%, 44% — CMYK 27%, 82%, 0%, 26%.

What colors go with #8A22BC?

Its complement is #54BE23; analogous partners are #3F23BE and #BE23A1. It also appears in 6+ palettes in our collection.

Can I use #8A22BC for text?

White text on #8A22BC has a contrast ratio of 6.92:1 (passes WCAG AA); black text gives 3.04:1.