#9170AA

Closest named color: Dark Lilac (#9C6DA5). oklch(59.9% 0.093 309.8), rgb(145, 112, 170).

Aa

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

About this color

#9170AA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.093 and its hue 310°. 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.10:1.

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

Values

HEX#9170AA
RGBrgb(145, 112, 170)
HSLhsl(274, 25%, 55%)
OKLCHoklch(59.9% 0.093 309.8)

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 #9170AA 4.11:1 AA large text Lc -73.7 Content text, not long reading
Black text on #9170AA 5.10:1 AA Lc 35.9 Non-text elements, placeholder text
#9170AA text on white 4.11:1 AA large text Lc 68.2 Content text, not long reading
#9170AA text on black 5.10:1 AA Lc -33.4 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  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

    #CAB9D7

    oklch(80.9% 0.045 310.6)

  5. Step 400

    400

    #AE94C3

    oklch(70.6% 0.073 309.6)

  6. Step 500

    500 (this color)

    #9170AA

    oklch(59.9% 0.093 309.8)

  7. Step 600

    600

    #8562A0

    oklch(55.6% 0.101 309.3)

  8. Step 700

    700

    #715189

    oklch(49.2% 0.094 309.6)

  9. Step 800

    800

    #5C426F

    oklch(42.7% 0.079 309.9)

  10. Step 900

    900

    #4B385A

    oklch(37.6% 0.061 309.3)

  11. Step 950

    950

    #2C2135

    oklch(27% 0.039 309.1)

Export this scale for Tailwind in the Tailwind colors tool

#9170AA 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)#657BAC0.068
Deuteranopia (no green cones)#6D7EA80.063
Tritanopia (no blue cones)#8E78850.068
Achromatopsia (no color)#7D7D7D0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #9170AA

    #9170AA

    oklch(59.9% 0.093 309.8)

  • #6E8B4E

    #6E8B4E

    oklch(59.9% 0.093 129.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9170AA

    #9170AA

    oklch(59.9% 0.093 309.8)

  • #757AB7

    #757AB7

    oklch(60% 0.093 279.6)

  • #A56992

    #A56992

    oklch(59.9% 0.094 339.4)

Open the analogous palette in the generator

Split complementary

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

  • #9170AA

    #9170AA

    oklch(59.9% 0.093 309.8)

  • #8D813A

    #8D813A

    oklch(59.9% 0.093 99.8)

  • #48916C

    #48916C

    oklch(59.9% 0.094 159.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9170AA

    #9170AA

    oklch(59.9% 0.093 309.8)

  • #A4763D

    #A4763D

    oklch(60.1% 0.094 70.2)

  • #27928C

    #27928C

    oklch(60% 0.094 189.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9170AA

    #9170AA

    oklch(59.9% 0.093 309.8)

  • #B06C55

    #B06C55

    oklch(60% 0.094 39.4)

  • #6E8B4E

    #6E8B4E

    oklch(59.9% 0.093 129.6)

  • #2F8DA6

    #2F8DA6

    oklch(60% 0.093 219.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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