#9871A5

Closest named color: Dark Lilac (#9C6DA5). oklch(60.6% 0.089 317.5), rgb(152, 113, 165).

Aa

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

About this color

#9871A5 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.089 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.012 away. Black text reads best on it, at 5.24:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.24:1
White text4.00:1

Values

HEX#9871A5
RGBrgb(152, 113, 165)
HSLhsl(285, 22%, 55%)
OKLCHoklch(60.6% 0.089 317.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 #9871A5 4.00:1 AA large text Lc -72.8 Content text, not long reading
Black text on #9871A5 5.24:1 AA Lc 36.8 Non-text elements, placeholder text
#9871A5 text on white 4.00:1 AA large text Lc 67.3 Content text, not long reading
#9871A5 text on black 5.24:1 AA Lc -34.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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE7EF

    oklch(93.5% 0.012 317.7)

  3. Step 200

    200

    #E0D4E4

    oklch(88.4% 0.025 317.7)

  4. Step 300

    300

    #CCB8D3

    oklch(80.8% 0.043 317.3)

  5. Step 400

    400

    #B393BD

    oklch(70.6% 0.07 318)

  6. Step 500

    500 (this color)

    #9871A5

    oklch(60.6% 0.089 317.5)

  7. Step 600

    600

    #8A6198

    oklch(55.6% 0.095 317.3)

  8. Step 700

    700

    #755082

    oklch(49.1% 0.089 317)

  9. Step 800

    800

    #60416A

    oklch(42.7% 0.076 317.7)

  10. Step 900

    900

    #4E3856

    oklch(37.8% 0.057 316.8)

  11. Step 950

    950

    #2E2132

    oklch(27.1% 0.036 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#9871A5 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)#6A7CA70.072
Deuteranopia (no green cones)#7380A30.067
Tritanopia (no blue cones)#9877840.058
Achromatopsia (no color)#7F7F7F0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #9871A5

    #9871A5

    oklch(60.6% 0.089 317.5)

  • #688F59

    #688F59

    oklch(60.7% 0.09 137.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9871A5

    #9871A5

    oklch(60.6% 0.089 317.5)

  • #7F7AB5

    #7F7AB5

    oklch(60.7% 0.089 287.3)

  • #A96C8C

    #A96C8C

    oklch(60.6% 0.088 347.3)

Open the analogous palette in the generator

Split complementary

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

  • #9871A5

    #9871A5

    oklch(60.6% 0.089 317.5)

  • #888643

    #888643

    oklch(60.7% 0.089 107.3)

  • #459377

    #459377

    oklch(60.6% 0.089 167.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9871A5

    #9871A5

    oklch(60.6% 0.089 317.5)

  • #A07B41

    #A07B41

    oklch(60.7% 0.089 77)

  • #309295

    #309295

    oklch(60.6% 0.088 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9871A5

    #9871A5

    oklch(60.6% 0.089 317.5)

  • #AE7152

    #AE7152

    oklch(60.6% 0.089 47.5)

  • #688F59

    #688F59

    oklch(60.7% 0.09 137.3)

  • #3F8CAC

    #3F8CAC

    oklch(60.5% 0.089 228.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9871A5 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.