#8A5786

Closest named color: Dull Purple (#84597E). oklch(53% 0.094 329.6), rgb(138, 87, 134).

Aa

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

About this color

#8A5786 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 53%, its chroma 0.094 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dull Purple (#84597E), ΔE 0.018 away. White text reads best on it, at 5.54:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest nameDull Purple (#84597E)
Black text3.78:1
White text5.54:1

Values

HEX#8A5786
RGBrgb(138, 87, 134)
HSLhsl(305, 23%, 44%)
OKLCHoklch(53% 0.094 329.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 #8A5786 5.54:1 AA Lc -82.8 Fine for body text
Black text on #8A5786 3.78:1 AA large text Lc 26.5 Dividers and decoration only
#8A5786 text on white 5.54:1 AA Lc 77.5 Fine for body text
#8A5786 text on black 3.78:1 AA large text Lc -24.2 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

    #B992B5

    oklch(70.7% 0.067 329.7)

  6. Step 500

    500

    #A776A3

    oklch(63% 0.087 329.4)

  7. Step 600

    600 (this color)

    #8A5786

    oklch(53% 0.094 329.6)

  8. Step 700

    700

    #7C4E79

    oklch(49.1% 0.087 329.1)

  9. Step 800

    800

    #654062

    oklch(42.7% 0.072 329.6)

  10. Step 900

    900

    #523650

    oklch(37.6% 0.057 329.1)

  11. Step 950

    950

    #30202F

    oklch(27% 0.036 328.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A5786 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)#5564880.089
Deuteranopia (no green cones)#626B840.082
Tritanopia (no blue cones)#8E5B680.053
Achromatopsia (no color)#6868680.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5786

    #8A5786

    oklch(53% 0.094 329.6)

  • #407B4E

    #407B4E

    oklch(53% 0.094 149.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5786

    #8A5786

    oklch(53% 0.094 329.6)

  • #745F9A

    #745F9A

    oklch(53.1% 0.093 299.6)

  • #97536A

    #97536A

    oklch(52.9% 0.094 359.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A5786

    #8A5786

    oklch(53% 0.094 329.6)

  • #657330

    #657330

    oklch(52.9% 0.093 119.6)

  • #0B7D6D

    #0B7D6D

    oklch(52.9% 0.094 179.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5786

    #8A5786

    oklch(53% 0.094 329.6)

  • #816920

    #816920

    oklch(53% 0.094 90.1)

  • #007A89

    #007A89

    oklch(53.1% 0.092 209.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5786

    #8A5786

    oklch(53% 0.094 329.6)

  • #935D2F

    #935D2F

    oklch(52.9% 0.094 59)

  • #407B4E

    #407B4E

    oklch(53% 0.094 149.9)

  • #30729C

    #30729C

    oklch(52.9% 0.094 239.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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