#9171AA

Closest named color: Dark Lilac (#9C6DA5). oklch(60.1% 0.092 309.5), rgb(145, 113, 170).

Aa

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

About this color

#9171AA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.092 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.020 away. Black text reads best on it, at 5.14:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.14:1
White text4.08:1

Values

HEX#9171AA
RGBrgb(145, 113, 170)
HSLhsl(274, 25%, 55%)
OKLCHoklch(60.1% 0.092 309.5)

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 #9171AA 4.08:1 AA large text Lc -73.4 Content text, not long reading
Black text on #9171AA 5.14:1 AA Lc 36.2 Non-text elements, placeholder text
#9171AA text on white 4.08:1 AA large text Lc 67.9 Content text, not long reading
#9171AA text on black 5.14:1 AA Lc -33.7 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

    #ECE8F1

    oklch(93.7% 0.013 306)

  3. Step 200

    200

    #DED5E6

    oklch(88.5% 0.025 309.3)

  4. Step 300

    300

    #C9B9D7

    oklch(80.9% 0.045 309.2)

  5. Step 400

    400

    #AE95C3

    oklch(70.8% 0.071 309.2)

  6. Step 500

    500 (this color)

    #9171AA

    oklch(60.1% 0.092 309.5)

  7. Step 600

    600

    #85629F

    oklch(55.6% 0.1 309.8)

  8. Step 700

    700

    #705188

    oklch(49% 0.092 309.2)

  9. Step 800

    800

    #5C436F

    oklch(42.9% 0.077 309.5)

  10. Step 900

    900

    #4B385A

    oklch(37.6% 0.061 309.3)

  11. Step 950

    950

    #2C2134

    oklch(26.9% 0.038 310.4)

Export this scale for Tailwind in the Tailwind colors tool

#9171AA 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)#677CAC0.065
Deuteranopia (no green cones)#6E7EA80.061
Tritanopia (no blue cones)#8E79860.066
Achromatopsia (no color)#7E7E7E0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #9171AA

    #9171AA

    oklch(60.1% 0.092 309.5)

  • #6F8B4F

    #6F8B4F

    oklch(60% 0.091 129.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9171AA

    #9171AA

    oklch(60.1% 0.092 309.5)

  • #757AB7

    #757AB7

    oklch(60% 0.093 279.6)

  • #A56A92

    #A56A92

    oklch(60% 0.092 339.6)

Open the analogous palette in the generator

Split complementary

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

  • #9171AA

    #9171AA

    oklch(60.1% 0.092 309.5)

  • #8E823C

    #8E823C

    oklch(60.2% 0.092 99.7)

  • #4B916D

    #4B916D

    oklch(60% 0.091 159.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9171AA

    #9171AA

    oklch(60.1% 0.092 309.5)

  • #A47640

    #A47640

    oklch(60.1% 0.091 69)

  • #2B928C

    #2B928C

    oklch(60.1% 0.092 189.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9171AA

    #9171AA

    oklch(60.1% 0.092 309.5)

  • #AF6D56

    #AF6D56

    oklch(60.1% 0.091 39.9)

  • #6F8B4F

    #6F8B4F

    oklch(60% 0.091 129.2)

  • #328DA6

    #328DA6

    oklch(60.1% 0.092 219.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9171AA 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.