#8A5E7D

Closest named color: Dusky Purple (#895B7B). oklch(53.9% 0.072 338), rgb(138, 94, 125).

Aa

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

About this color

#8A5E7D is a medium-dark, moderately saturated pink. In OKLCH its lightness is 54%, its chroma 0.072 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Dusky Purple (#895B7B), ΔE 0.008 away. White text reads best on it, at 5.27:1.

Hue familyPinks
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.072)
Temperaturewarm
Nearest nameDusky Purple (#895B7B)
Black text3.97:1
White text5.27:1

Values

HEX#8A5E7D
RGBrgb(138, 94, 125)
HSLhsl(318, 19%, 45%)
OKLCHoklch(53.9% 0.072 338)

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 #8A5E7D 5.27:1 AA Lc -81.5 Fine for body text
Black text on #8A5E7D 3.97:1 AA large text Lc 27.9 Dividers and decoration only
#8A5E7D text on white 5.27:1 AA Lc 76.1 Fine for body text
#8A5E7D text on black 3.97:1 AA large text Lc -25.6 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

    #F7F4F6

    oklch(97% 0.004 337.4)

  2. Step 100

    100

    #EEE7EC

    oklch(93.5% 0.01 335.5)

  3. Step 200

    200

    #E2D5DD

    oklch(88.6% 0.018 340)

  4. Step 300

    300

    #CFB9C8

    oklch(80.9% 0.032 337.4)

  5. Step 400

    400

    #B795AC

    oklch(70.8% 0.051 338.2)

  6. Step 500

    500

    #A47A97

    oklch(63% 0.066 338.2)

  7. Step 600

    600 (this color)

    #8A5E7D

    oklch(53.9% 0.072 338)

  8. Step 700

    700

    #7A526E

    oklch(49.2% 0.067 338.3)

  9. Step 800

    800

    #63435A

    oklch(42.7% 0.056 337.3)

  10. Step 900

    900

    #51394A

    oklch(37.8% 0.043 337.5)

  11. Step 950

    950

    #2F212B

    oklch(26.9% 0.027 337.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A5E7D 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)#5F687E0.072
Deuteranopia (no green cones)#6A6E7C0.066
Tritanopia (no blue cones)#8F5F690.034
Achromatopsia (no color)#6C6C6C0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5E7D

    #8A5E7D

    oklch(53.9% 0.072 338)

  • #487B5E

    #487B5E

    oklch(53.8% 0.072 157.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5E7D

    #8A5E7D

    oklch(53.9% 0.072 338)

  • #7A638F

    #7A638F

    oklch(53.9% 0.072 308)

  • #935D66

    #935D66

    oklch(54% 0.072 8.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A5E7D

    #8A5E7D

    oklch(53.9% 0.072 338)

  • #627748

    #627748

    oklch(54% 0.073 128.2)

  • #347C76

    #347C76

    oklch(53.9% 0.072 187.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5E7D

    #8A5E7D

    oklch(53.9% 0.072 338)

  • #796F3C

    #796F3C

    oklch(53.9% 0.072 98.5)

  • #37798A

    #37798A

    oklch(54% 0.072 217.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5E7D

    #8A5E7D

    oklch(53.9% 0.072 338)

  • #8A663F

    #8A663F

    oklch(53.8% 0.072 67.5)

  • #487B5E

    #487B5E

    oklch(53.8% 0.072 157.9)

  • #4C7296

    #4C7296

    oklch(53.9% 0.071 248)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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