#A171AA

Closest named color: Dark Lilac (#9C6DA5). oklch(61.8% 0.1 321.1), rgb(161, 113, 170).

Aa

Black text reads best on this color (5.45:1).

About this color

#A171AA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.100 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.015 away. Black text reads best on it, at 5.45:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.45:1
White text3.84:1

Values

HEX#A171AA
RGBrgb(161, 113, 170)
HSLhsl(291, 25%, 55%)
OKLCHoklch(61.8% 0.1 321.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A171AA 3.84:1 AA large text Lc -71.4 Content text, not long reading
Black text on #A171AA 5.45:1 AA Lc 38.2 Non-text elements, placeholder text
#A171AA text on white 3.84:1 AA large text Lc 65.9 Content text, not long reading
#A171AA text on black 5.45:1 AA Lc -35.8 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EEE7F0

    oklch(93.6% 0.014 318.7)

  3. Step 200

    200

    #E2D4E4

    oklch(88.6% 0.026 321.9)

  4. Step 300

    300

    #D0B7D4

    oklch(81% 0.049 321.6)

  5. Step 400

    400

    #B791BE

    oklch(70.7% 0.077 321.1)

  6. Step 500

    500 (this color)

    #A171AA

    oklch(61.8% 0.1 321.1)

  7. Step 600

    600

    #905D9A

    oklch(55.7% 0.108 320.9)

  8. Step 700

    700

    #7A4C83

    oklch(49% 0.101 320.9)

  9. Step 800

    800

    #643F6B

    oklch(42.8% 0.084 321.1)

  10. Step 900

    900

    #513657

    oklch(37.8% 0.065 320.2)

  11. Step 950

    950

    #302033

    oklch(27.2% 0.041 321.1)

Export this scale for Tailwind in the Tailwind colors tool

#A171AA with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#6B7FAC0.086
Deuteranopia (no green cones)#7684A80.080
Tritanopia (no blue cones)#A277860.062
Achromatopsia (no color)#8282820.100

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #A171AA

    #A171AA

    oklch(61.8% 0.1 321.1)

  • #63955B

    #63955B

    oklch(61.9% 0.1 141.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A171AA

    #A171AA

    oklch(61.8% 0.1 321.1)

  • #867ABD

    #867ABD

    oklch(61.7% 0.1 291.4)

  • #B36C8D

    #B36C8D

    oklch(61.9% 0.099 351)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #A171AA

    #A171AA

    oklch(61.8% 0.1 321.1)

  • #888B3F

    #888B3F

    oklch(61.8% 0.099 111)

  • #38997D

    #38997D

    oklch(61.8% 0.1 170.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A171AA

    #A171AA

    oklch(61.8% 0.1 321.1)

  • #A47F38

    #A47F38

    oklch(61.8% 0.1 81.3)

  • #1B979E

    #1B979E

    oklch(61.8% 0.1 201)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A171AA

    #A171AA

    oklch(61.8% 0.1 321.1)

  • #B5734B

    #B5734B

    oklch(61.7% 0.1 51.2)

  • #63955B

    #63955B

    oklch(61.9% 0.1 141.1)

  • #3A90B7

    #3A90B7

    oklch(61.8% 0.1 231.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A171AA, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #A171AA in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.