#9D78AA

Closest named color: Dark Lilac (#9C6DA5). oklch(62.6% 0.085 317.1), rgb(157, 120, 170).

Aa

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

About this color

#9D78AA is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.085 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.028 away. Black text reads best on it, at 5.70:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.70:1
White text3.68:1

Values

HEX#9D78AA
RGBrgb(157, 120, 170)
HSLhsl(284, 23%, 57%)
OKLCHoklch(62.6% 0.085 317.1)

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 #9D78AA 3.68:1 AA large text Lc -69.9 Content text, not long reading
Black text on #9D78AA 5.70:1 AA Lc 39.7 Non-text elements, placeholder text
#9D78AA text on white 3.68:1 AA large text Lc 64.4 Content text, not long reading
#9D78AA text on black 5.70:1 AA Lc -37.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

    #EDE7EF

    oklch(93.5% 0.012 317.7)

  3. Step 200

    200

    #DFD5E3

    oklch(88.5% 0.022 316.5)

  4. Step 300

    300

    #CCB9D3

    oklch(81% 0.042 317)

  5. Step 400

    400

    #B294BC

    oklch(70.7% 0.066 317.6)

  6. Step 500

    500 (this color)

    #9D78AA

    oklch(62.6% 0.085 317.1)

  7. Step 600

    600

    #896297

    oklch(55.6% 0.092 316.9)

  8. Step 700

    700

    #745181

    oklch(49.1% 0.085 316.6)

  9. Step 800

    800

    #5F4269

    oklch(42.7% 0.072 317.2)

  10. Step 900

    900

    #4E3855

    oklch(37.7% 0.056 317.8)

  11. Step 950

    950

    #2D2132

    oklch(27% 0.035 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#9D78AA 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)#7183AC0.069
Deuteranopia (no green cones)#7A86A80.063
Tritanopia (no blue cones)#9D7E8A0.056
Achromatopsia (no color)#8585850.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D78AA

    #9D78AA

    oklch(62.6% 0.085 317.1)

  • #709461

    #709461

    oklch(62.6% 0.084 136.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D78AA

    #9D78AA

    oklch(62.6% 0.085 317.1)

  • #8480B9

    #8480B9

    oklch(62.6% 0.085 286.9)

  • #AE7392

    #AE7392

    oklch(62.7% 0.085 347)

Open the analogous palette in the generator

Split complementary

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

  • #9D78AA

    #9D78AA

    oklch(62.6% 0.085 317.1)

  • #8E8C4D

    #8E8C4D

    oklch(62.7% 0.085 107)

  • #50997D

    #50997D

    oklch(62.7% 0.086 166.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D78AA

    #9D78AA

    oklch(62.6% 0.085 317.1)

  • #A5814B

    #A5814B

    oklch(62.6% 0.084 76.4)

  • #3E989A

    #3E989A

    oklch(62.7% 0.085 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D78AA

    #9D78AA

    oklch(62.6% 0.085 317.1)

  • #B2785B

    #B2785B

    oklch(62.6% 0.084 47.3)

  • #709461

    #709461

    oklch(62.6% 0.084 136.8)

  • #4A92B0

    #4A92B0

    oklch(62.6% 0.085 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 #9D78AA, closest first.

Similar named colors

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

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