#8A5787

Closest named color: Muted Purple (#805B87). oklch(53.1% 0.095 328.9), rgb(138, 87, 135).

Aa

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

About this color

#8A5787 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 53%, its chroma 0.095 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Muted Purple (#805B87), ΔE 0.019 away. White text reads best on it, at 5.53:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameMuted Purple (#805B87)
Black text3.79:1
White text5.53:1

Values

HEX#8A5787
RGBrgb(138, 87, 135)
HSLhsl(304, 23%, 44%)
OKLCHoklch(53.1% 0.095 328.9)

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 #8A5787 5.53:1 AA Lc -82.8 Fine for body text
Black text on #8A5787 3.79:1 AA large text Lc 26.6 Dividers and decoration only
#8A5787 text on white 5.53:1 AA Lc 77.5 Fine for body text
#8A5787 text on black 3.79:1 AA large text Lc -24.3 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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #EFE7EE

    oklch(93.6% 0.013 329.6)

  3. Step 200

    200

    #E2D4E1

    oklch(88.5% 0.023 328)

  4. Step 300

    300

    #D1B7CE

    oklch(80.9% 0.043 329.7)

  5. Step 400

    400

    #B992B6

    oklch(70.8% 0.068 328.8)

  6. Step 500

    500

    #A776A4

    oklch(63.1% 0.088 328.6)

  7. Step 600

    600 (this color)

    #8A5787

    oklch(53.1% 0.095 328.9)

  8. Step 700

    700

    #7C4E79

    oklch(49.1% 0.087 329.1)

  9. Step 800

    800

    #654063

    oklch(42.8% 0.073 328.6)

  10. Step 900

    900

    #523651

    oklch(37.6% 0.058 327.9)

  11. Step 950

    950

    #30202F

    oklch(27% 0.036 328.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A5787 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)#5464890.090
Deuteranopia (no green cones)#616B850.083
Tritanopia (no blue cones)#8E5B690.053
Achromatopsia (no color)#6868680.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5787

    #8A5787

    oklch(53.1% 0.095 328.9)

  • #417B4D

    #417B4D

    oklch(53.1% 0.094 149)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5787

    #8A5787

    oklch(53.1% 0.095 328.9)

  • #745F9B

    #745F9B

    oklch(53.1% 0.095 299.3)

  • #98536B

    #98536B

    oklch(53.1% 0.096 358.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A5787

    #8A5787

    oklch(53.1% 0.095 328.9)

  • #66732E

    #66732E

    oklch(52.9% 0.095 118.7)

  • #097E6D

    #097E6D

    oklch(53.2% 0.095 178.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5787

    #8A5787

    oklch(53.1% 0.095 328.9)

  • #82681F

    #82681F

    oklch(52.9% 0.095 88.5)

  • #007A88

    #007A88

    oklch(53% 0.091 208.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5787

    #8A5787

    oklch(53.1% 0.095 328.9)

  • #945D2E

    #945D2E

    oklch(53% 0.095 59)

  • #417B4D

    #417B4D

    oklch(53.1% 0.094 149)

  • #2E739D

    #2E739D

    oklch(53.1% 0.095 239)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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