#9D71AB

Closest named color: Dark Lilac (#9C6DA5). oklch(61.4% 0.099 317.8), rgb(157, 113, 171).

Aa

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

About this color

#9D71AB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.099 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.38:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.38:1
White text3.90:1

Values

HEX#9D71AB
RGBrgb(157, 113, 171)
HSLhsl(286, 26%, 56%)
OKLCHoklch(61.4% 0.099 317.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 #9D71AB 3.90:1 AA large text Lc -71.8 Content text, not long reading
Black text on #9D71AB 5.38:1 AA Lc 37.7 Non-text elements, placeholder text
#9D71AB text on white 3.90:1 AA large text Lc 66.3 Content text, not long reading
#9D71AB text on black 5.38:1 AA Lc -35.3 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

    #E1D4E5

    oklch(88.5% 0.027 318.2)

  4. Step 300

    300

    #CEB7D5

    oklch(80.8% 0.049 318.3)

  5. Step 400

    400

    #B592C0

    oklch(70.8% 0.076 318)

  6. Step 500

    500 (this color)

    #9D71AB

    oklch(61.4% 0.099 317.8)

  7. Step 600

    600

    #8D5E9C

    oklch(55.6% 0.107 317.7)

  8. Step 700

    700

    #784D85

    oklch(49.1% 0.1 318.1)

  9. Step 800

    800

    #62406C

    oklch(42.8% 0.082 318.3)

  10. Step 900

    900

    #503658

    oklch(37.7% 0.065 318)

  11. Step 950

    950

    #2F2033

    oklch(27% 0.04 319)

Export this scale for Tailwind in the Tailwind colors tool

#9D71AB 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)#697EAD0.082
Deuteranopia (no green cones)#7482A90.074
Tritanopia (no blue cones)#9D78860.065
Achromatopsia (no color)#8181810.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D71AB

    #9D71AB

    oklch(61.4% 0.099 317.8)

  • #679257

    #679257

    oklch(61.3% 0.098 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D71AB

    #9D71AB

    oklch(61.4% 0.099 317.8)

  • #817BBC

    #817BBC

    oklch(61.5% 0.097 287.4)

  • #B06B8F

    #B06B8F

    oklch(61.4% 0.099 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #9D71AB

    #9D71AB

    oklch(61.4% 0.099 317.8)

  • #8A893D

    #8A893D

    oklch(61.5% 0.099 108.3)

  • #3D9779

    #3D9779

    oklch(61.4% 0.098 168.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D71AB

    #9D71AB

    oklch(61.4% 0.099 317.8)

  • #A57C39

    #A57C39

    oklch(61.3% 0.098 77.3)

  • #1D9699

    #1D9699

    oklch(61.3% 0.098 197.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D71AB

    #9D71AB

    oklch(61.4% 0.099 317.8)

  • #B5714E

    #B5714E

    oklch(61.4% 0.099 47.5)

  • #679257

    #679257

    oklch(61.3% 0.098 137.6)

  • #3690B3

    #3690B3

    oklch(61.5% 0.099 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9D71AB 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.