#8A5D97

Closest named color: Dark Lavender (#856798). oklch(54.8% 0.101 318.5), rgb(138, 93, 151).

Aa

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

About this color

#8A5D97 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 55%, its chroma 0.101 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.026 away. White text reads best on it, at 5.13:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.09:1
White text5.13:1

Values

HEX#8A5D97
RGBrgb(138, 93, 151)
HSLhsl(287, 24%, 48%)
OKLCHoklch(54.8% 0.101 318.5)

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 #8A5D97 5.13:1 AA Lc -80.6 Fine for body text
Black text on #8A5D97 4.09:1 AA large text Lc 28.8 Dividers and decoration only
#8A5D97 text on white 5.13:1 AA Lc 75.2 Fine for body text
#8A5D97 text on black 4.09:1 AA large text Lc -26.5 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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EEE7F0

    oklch(93.6% 0.014 318.7)

  3. Step 200

    200

    #E0D4E4

    oklch(88.4% 0.025 317.7)

  4. Step 300

    300

    #CEB8D4

    oklch(81% 0.046 319)

  5. Step 400

    400

    #B492BE

    oklch(70.6% 0.073 318.4)

  6. Step 500

    500

    #A277AE

    oklch(63.1% 0.094 318.8)

  7. Step 600

    600 (this color)

    #8A5D97

    oklch(54.8% 0.101 318.5)

  8. Step 700

    700

    #774E83

    oklch(49% 0.095 318.4)

  9. Step 800

    800

    #61406A

    oklch(42.6% 0.079 318.9)

  10. Step 900

    900

    #4F3756

    oklch(37.7% 0.06 318.4)

  11. Step 950

    950

    #2E2033

    oklch(26.9% 0.04 317)

Export this scale for Tailwind in the Tailwind colors tool

#8A5D97 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)#556B990.086
Deuteranopia (no green cones)#606F950.079
Tritanopia (no blue cones)#8A64730.065
Achromatopsia (no color)#6E6E6E0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5D97

    #8A5D97

    oklch(54.8% 0.101 318.5)

  • #527F43

    #527F43

    oklch(54.9% 0.101 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5D97

    #8A5D97

    oklch(54.8% 0.101 318.5)

  • #6F66A9

    #6F66A9

    oklch(54.8% 0.103 288.7)

  • #9C577B

    #9C577B

    oklch(54.8% 0.101 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A5D97

    #8A5D97

    oklch(54.8% 0.101 318.5)

  • #777524

    #777524

    oklch(54.8% 0.101 107.9)

  • #1E8466

    #1E8466

    oklch(54.9% 0.102 168.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5D97

    #8A5D97

    oklch(54.8% 0.101 318.5)

  • #91691F

    #91691F

    oklch(54.9% 0.101 78.5)

  • #008185

    #008185

    oklch(54.8% 0.093 198.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5D97

    #8A5D97

    oklch(54.8% 0.101 318.5)

  • #A05D39

    #A05D39

    oklch(54.7% 0.101 47.9)

  • #527F43

    #527F43

    oklch(54.9% 0.101 138.3)

  • #177CA0

    #177CA0

    oklch(54.9% 0.101 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8A5D97 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.