#9D6BA2

Closest named color: Dark Lilac (#9C6DA5). oklch(59.9% 0.099 323.6), rgb(157, 107, 162).

Aa

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

About this color

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

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

Values

HEX#9D6BA2
RGBrgb(157, 107, 162)
HSLhsl(295, 23%, 53%)
OKLCHoklch(59.9% 0.099 323.6)

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 #9D6BA2 4.15:1 AA large text Lc -73.9 Content text, not long reading
Black text on #9D6BA2 5.05:1 AA Lc 35.6 Non-text elements, placeholder text
#9D6BA2 text on white 4.15:1 AA large text Lc 68.5 Content text, not long reading
#9D6BA2 text on black 5.05:1 AA Lc -33.2 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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE7EF

    oklch(93.7% 0.014 325.7)

  3. Step 200

    200

    #E2D3E4

    oklch(88.4% 0.028 322.2)

  4. Step 300

    300

    #D1B7D3

    oklch(81% 0.048 323.8)

  5. Step 400

    400

    #B990BD

    oklch(70.7% 0.079 323.4)

  6. Step 500

    500 (this color)

    #9D6BA2

    oklch(59.9% 0.099 323.6)

  7. Step 600

    600

    #925C97

    oklch(55.6% 0.108 323.9)

  8. Step 700

    700

    #7C4C81

    oklch(49.2% 0.1 323.5)

  9. Step 800

    800

    #653E69

    oklch(42.7% 0.084 323.6)

  10. Step 900

    900

    #523555

    oklch(37.6% 0.065 323.5)

  11. Step 950

    950

    #301F32

    oklch(26.9% 0.042 323)

Export this scale for Tailwind in the Tailwind colors tool

#9D6BA2 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)#6679A40.088
Deuteranopia (no green cones)#727FA00.082
Tritanopia (no blue cones)#9F717F0.061
Achromatopsia (no color)#7C7C7C0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D6BA2

    #9D6BA2

    oklch(59.9% 0.099 323.6)

  • #5A8F58

    #5A8F58

    oklch(59.8% 0.099 143.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D6BA2

    #9D6BA2

    oklch(59.9% 0.099 323.6)

  • #8374B6

    #8374B6

    oklch(60% 0.1 293.6)

  • #AE6685

    #AE6685

    oklch(60% 0.1 353.2)

Open the analogous palette in the generator

Split complementary

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

  • #9D6BA2

    #9D6BA2

    oklch(59.9% 0.099 323.6)

  • #80863B

    #80863B

    oklch(59.9% 0.099 113.2)

  • #2E937B

    #2E937B

    oklch(59.9% 0.099 173.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D6BA2

    #9D6BA2

    oklch(59.9% 0.099 323.6)

  • #9C7A31

    #9C7A31

    oklch(59.8% 0.1 83.6)

  • #10919B

    #10919B

    oklch(60% 0.1 203.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D6BA2

    #9D6BA2

    oklch(59.9% 0.099 323.6)

  • #AE6F44

    #AE6F44

    oklch(60% 0.099 54)

  • #5A8F58

    #5A8F58

    oklch(59.8% 0.099 143.4)

  • #3889B2

    #3889B2

    oklch(59.8% 0.1 234.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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