#9D64A7

Closest named color: Dark Lilac (#9C6DA5). oklch(59% 0.118 321.4), rgb(157, 100, 167).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text4.81:1
White text4.36:1

Values

HEX#9D64A7
RGBrgb(157, 100, 167)
HSLhsl(291, 28%, 52%)
OKLCHoklch(59% 0.118 321.4)

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 #9D64A7 4.36:1 AA large text Lc -75.5 Fine for body text
Black text on #9D64A7 4.81:1 AA Lc 34.0 Non-text elements, placeholder text
#9D64A7 text on white 4.36:1 AA large text Lc 70.0 Content text, not long reading
#9D64A7 text on black 4.81:1 AA Lc -31.6 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 600.

  1. Step 50

    50

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE7F0

    oklch(93.7% 0.015 322.3)

  3. Step 200

    200

    #E3D3E5

    oklch(88.5% 0.03 322.4)

  4. Step 300

    300

    #D1B6D6

    oklch(80.9% 0.053 321)

  5. Step 400

    400

    #B98FC1

    oklch(70.6% 0.085 320.9)

  6. Step 500

    500

    #A873B1

    oklch(63.2% 0.108 321.6)

  7. Step 600

    600 (this color)

    #9D64A7

    oklch(59% 0.118 321.4)

  8. Step 700

    700

    #7D4A86

    oklch(49.2% 0.11 321.4)

  9. Step 800

    800

    #653D6D

    oklch(42.7% 0.091 320.8)

  10. Step 900

    900

    #533458

    oklch(37.7% 0.071 321.8)

  11. Step 950

    950

    #311F34

    oklch(27.1% 0.045 321.6)

Export this scale for Tailwind in the Tailwind colors tool

#9D64A7 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)#5C75A90.105
Deuteranopia (no green cones)#6A7BA50.096
Tritanopia (no blue cones)#9F6C7E0.073
Achromatopsia (no color)#7979790.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D64A7

    #9D64A7

    oklch(59% 0.118 321.4)

  • #528E4A

    #528E4A

    oklch(58.9% 0.118 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D64A7

    #9D64A7

    oklch(59% 0.118 321.4)

  • #7E6FBD

    #7E6FBD

    oklch(58.9% 0.117 291.2)

  • #B15D85

    #B15D85

    oklch(58.9% 0.119 351.4)

Open the analogous palette in the generator

Split complementary

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

  • #9D64A7

    #9D64A7

    oklch(59% 0.118 321.4)

  • #808320

    #808320

    oklch(58.9% 0.117 111.3)

  • #009374

    #009374

    oklch(59% 0.116 171)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D64A7

    #9D64A7

    oklch(59% 0.118 321.4)

  • #A0750E

    #A0750E

    oklch(59% 0.118 81.9)

  • #008E96

    #008E96

    oklch(58.9% 0.1 201.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D64A7

    #9D64A7

    oklch(59% 0.118 321.4)

  • #B36635

    #B36635

    oklch(58.8% 0.118 51)

  • #528E4A

    #528E4A

    oklch(58.9% 0.118 141.5)

  • #0888B6

    #0888B6

    oklch(58.9% 0.118 231.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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