#9E64AA

Closest named color: Dark Lilac (#9C6DA5). oklch(59.2% 0.122 320.6), rgb(158, 100, 170).

Aa

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

About this color

#9E64AA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.122 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.026 away. Black text reads best on it, at 4.85:1.

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

Values

HEX#9E64AA
RGBrgb(158, 100, 170)
HSLhsl(290, 29%, 53%)
OKLCHoklch(59.2% 0.122 320.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 #9E64AA 4.32:1 AA large text Lc -75.2 Fine for body text
Black text on #9E64AA 4.85:1 AA Lc 34.3 Non-text elements, placeholder text
#9E64AA text on white 4.32:1 AA large text Lc 69.7 Content text, not long reading
#9E64AA text on black 4.85:1 AA Lc -31.9 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

    #E3D3E6

    oklch(88.5% 0.031 320.9)

  4. Step 300

    300

    #D1B6D7

    oklch(81% 0.054 320.1)

  5. Step 400

    400

    #BA8FC2

    oklch(70.8% 0.087 321.1)

  6. Step 500

    500

    #A872B3

    oklch(63.1% 0.112 320.6)

  7. Step 600

    600 (this color)

    #9E64AA

    oklch(59.2% 0.122 320.6)

  8. Step 700

    700

    #7D4988

    oklch(49.1% 0.114 320.4)

  9. Step 800

    800

    #663C6E

    oklch(42.7% 0.094 321)

  10. Step 900

    900

    #533459

    oklch(37.7% 0.073 320.9)

  11. Step 950

    950

    #311F34

    oklch(27.1% 0.045 321.6)

Export this scale for Tailwind in the Tailwind colors tool

#9E64AA 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)#5B75AD0.107
Deuteranopia (no green cones)#6A7CA80.098
Tritanopia (no blue cones)#9F6C7F0.076
Achromatopsia (no color)#7979790.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E64AA

    #9E64AA

    oklch(59.2% 0.122 320.6)

  • #538F47

    #538F47

    oklch(59.1% 0.122 140.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E64AA

    #9E64AA

    oklch(59.2% 0.122 320.6)

  • #7E6FC1

    #7E6FC1

    oklch(59.1% 0.123 290.5)

  • #B35D87

    #B35D87

    oklch(59.2% 0.122 350.8)

Open the analogous palette in the generator

Split complementary

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

  • #9E64AA

    #9E64AA

    oklch(59.2% 0.122 320.6)

  • #828419

    #828419

    oklch(59.3% 0.122 110.7)

  • #009474

    #009474

    oklch(59.3% 0.117 170.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E64AA

    #9E64AA

    oklch(59.2% 0.122 320.6)

  • #A37403

    #A37403

    oklch(59.1% 0.122 80.1)

  • #008F96

    #008F96

    oklch(59.1% 0.101 200.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E64AA

    #9E64AA

    oklch(59.2% 0.122 320.6)

  • #B66633

    #B66633

    oklch(59.2% 0.122 50.8)

  • #538F47

    #538F47

    oklch(59.1% 0.122 140.4)

  • #008AB7

    #008AB7

    oklch(59.3% 0.119 230.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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