Maroon Colors  ·  Color Library

Palettes / Colors / #A166DF

#A166DF — Purple

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

#A166DF 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 #A5DF68; it also sits naturally between #686ADF and #DD68DF. In the palettes below you can see it working alongside real color combinations from our collection.

#A166DF · RGB 161, 102, 223

Download PNG swatch SVG

Color values

HEX#A166DF
RGB161, 102, 223
HSL269°, 65%, 64%
HSV269°, 54%, 87%
CMYK28%, 54%, 0%, 13%
XYZ32.77, 22.41, 72.41
Yxy22.41, 0.2568, 0.1756
CIE-Lab54.46, 46.91, -53.10
Hunter Lab47.34, 43.94, -62.45

RGB & CMYK percentages

Red 63% · Green 40% · Blue 87%

Cyan 28% · Magenta 54% · Yellow 0% · Key 13%

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

Previews

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

CSS code for #A166DF

.text { color: #A166DF; }
.background { background-color: #A166DF; }
.border { border: 3px solid #A166DF; }
.text-rgb { color: rgb(161, 102, 223); }
.text-hsl { color: hsl(269, 65%, 64%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #A166DF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(161, 102, 223, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #A166DF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(161, 102, 223, 0.8); }

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

Shades of #A166DF

#924EDA#8235D4#7329C2#6424A8#551E8F#461976#37145D#280E43#19092A#0A0411

Tints of #A166DF

#A974E2#B181E4#BB92E8#C39EEA#CBABED#D3B7F0#DBC4F3#E5D5F6#EDE2F9#F5EEFB

Tones of #A166DF

#A170D7#A279CD#A281C5#A289BD#A392B5#A39BAB

Color harmonies

Complementary — #A5DF68:

Analogous:

Triadic:

Contrast & accessibility

Against white text3.83:1 AA large only
Against black text5.48:1 AA

Best text color on #A166DF: #000000.

Semi-transparent (opacity) text on #A166DF

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

How #A166DF looks with color blindness

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

Protanopia · #8787C2Deuteranopia · #8B8FBBTritanopia · #9EABA6

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 #A166DF rather than the exact color:

Scarlet Mosaic
#D0B5F2 · #9F6BE1 · #7E32DC · #6020B1
Palette 421b9b
#421B9B · #A06EE1 · #CBBCF6 · #CEF9E2
Radiant Zephyr
#885724 · #2FB171 · #9F65D6 · #EEE3D4
Tranquil Ruby Tempest
#A661E6 · #D22EDE · #EA3AAE · #CF224C
Tranquil Ruby Zephyr
#6BBA24 · #A6DF5A · #A15CE0 · #E0CAF1
Palette 4e56c0
#4E56C0 · #9B5DE0 · #D78FEE · #FDCFFA

Similar colors

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

#9F6BE1#A06EE1#9F65D6#A661E6#A15CE0#9B5DE0#9564DD#A166D1#A55ED4#A260D1#AC71DD#A472D5

Browse neighbouring colors

← #A166DE  ·  #A166E0 →

Frequently asked questions

What color is #A166DF?

#A166DF is Purple, a purple color (RGB 161, 102, 223). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #A166DF?

#A166DF is RGB 161, 102, 223 — HSL 269°, 65%, 64% — CMYK 28%, 54%, 0%, 13%.

What colors go with #A166DF?

Its complement is #A5DF68; analogous partners are #686ADF and #DD68DF. It also appears in 6+ palettes in our collection.

Can I use #A166DF for text?

Black text on #A166DF has a contrast ratio of 5.48:1 (passes WCAG AA); white text gives 3.83:1.