#9A5FA4

Closest named color: Dark Lilac (#9C6DA5). oklch(57.6% 0.122 321.6), rgb(154, 95, 164).

Aa

White text reads best on this color (4.61:1).

About this color

#9A5FA4 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.122 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.036 away. White text reads best on it, at 4.61:1.

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

Values

HEX#9A5FA4
RGBrgb(154, 95, 164)
HSLhsl(291, 27%, 51%)
OKLCHoklch(57.6% 0.122 321.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 #9A5FA4 4.61:1 AA Lc -77.3 Fine for body text
Black text on #9A5FA4 4.54:1 AA Lc 32.2 Non-text elements, placeholder text
#9A5FA4 text on white 4.61:1 AA Lc 71.9 Content text, not long reading
#9A5FA4 text on black 4.54:1 AA Lc -29.8 Dividers and decoration only

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

    #D2B5D6

    oklch(80.8% 0.056 322.2)

  5. Step 400

    400

    #BA8FC2

    oklch(70.8% 0.087 321.1)

  6. Step 500

    500

    #A972B2

    oklch(63.2% 0.112 321.7)

  7. Step 600

    600 (this color)

    #9A5FA4

    oklch(57.6% 0.122 321.6)

  8. Step 700

    700

    #7E4987

    oklch(49.2% 0.113 321.6)

  9. Step 800

    800

    #663C6D

    oklch(42.6% 0.093 321.7)

  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

#9A5FA4 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)#5671A60.110
Deuteranopia (no green cones)#6677A20.099
Tritanopia (no blue cones)#9C677A0.075
Achromatopsia (no color)#7575750.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A5FA4

    #9A5FA4

    oklch(57.6% 0.122 321.6)

  • #4C8B44

    #4C8B44

    oklch(57.7% 0.122 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A5FA4

    #9A5FA4

    oklch(57.6% 0.122 321.6)

  • #7B6ABB

    #7B6ABB

    oklch(57.6% 0.122 291.7)

  • #AE5881

    #AE5881

    oklch(57.6% 0.122 351.7)

Open the analogous palette in the generator

Split complementary

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

  • #9A5FA4

    #9A5FA4

    oklch(57.6% 0.122 321.6)

  • #7C7F12

    #7C7F12

    oklch(57.5% 0.121 111.4)

  • #008E71

    #008E71

    oklch(57.6% 0.112 171.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A5FA4

    #9A5FA4

    oklch(57.6% 0.122 321.6)

  • #9C7100

    #9C7100

    oklch(57.7% 0.119 82)

  • #008A92

    #008A92

    oklch(57.7% 0.098 202)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A5FA4

    #9A5FA4

    oklch(57.6% 0.122 321.6)

  • #B1622C

    #B1622C

    oklch(57.8% 0.122 52)

  • #4C8B44

    #4C8B44

    oklch(57.7% 0.122 141.5)

  • #0084B2

    #0084B2

    oklch(57.6% 0.117 231.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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