#8A5F7B

Closest named color: Dusky Purple (#895B7B). oklch(54% 0.068 340.4), rgb(138, 95, 123).

Aa

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

About this color

#8A5F7B is a medium-dark, muted pink. In OKLCH its lightness is 54%, its chroma 0.068 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Dusky Purple (#895B7B), ΔE 0.011 away. White text reads best on it, at 5.24:1.

Hue familyPinks
Lightnessmedium-dark (54%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameDusky Purple (#895B7B)
Black text4.00:1
White text5.24:1

Values

HEX#8A5F7B
RGBrgb(138, 95, 123)
HSLhsl(321, 18%, 46%)
OKLCHoklch(54% 0.068 340.4)

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 #8A5F7B 5.24:1 AA Lc -81.3 Fine for body text
Black text on #8A5F7B 4.00:1 AA large text Lc 28.1 Dividers and decoration only
#8A5F7B text on white 5.24:1 AA Lc 76.0 Fine for body text
#8A5F7B text on black 4.00:1 AA large text Lc -25.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

    #F7F4F6

    oklch(97% 0.004 337.4)

  2. Step 100

    100

    #EEE8EC

    oklch(93.7% 0.008 337.4)

  3. Step 200

    200

    #E1D5DD

    oklch(88.5% 0.017 337.6)

  4. Step 300

    300

    #CFB9C7

    oklch(80.8% 0.031 339.4)

  5. Step 400

    400

    #B795AA

    oklch(70.7% 0.05 340.9)

  6. Step 500

    500

    #A47B95

    oklch(63.1% 0.062 340.7)

  7. Step 600

    600 (this color)

    #8A5F7B

    oklch(54% 0.068 340.4)

  8. Step 700

    700

    #79526C

    oklch(49% 0.064 339.7)

  9. Step 800

    800

    #634458

    oklch(42.8% 0.052 340.6)

  10. Step 900

    900

    #513948

    oklch(37.7% 0.041 341.3)

  11. Step 950

    950

    #2F222A

    oklch(27.1% 0.024 341.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A5F7B 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)#61687C0.069
Deuteranopia (no green cones)#6B6F7A0.065
Tritanopia (no blue cones)#8F60690.030
Achromatopsia (no color)#6C6C6C0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5F7B

    #8A5F7B

    oklch(54% 0.068 340.4)

  • #497B61

    #497B61

    oklch(54% 0.068 160.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5F7B

    #8A5F7B

    oklch(54% 0.068 340.4)

  • #7B648D

    #7B648D

    oklch(54.1% 0.068 309.7)

  • #925E65

    #925E65

    oklch(54.1% 0.069 10.8)

Open the analogous palette in the generator

Split complementary

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

  • #8A5F7B

    #8A5F7B

    oklch(54% 0.068 340.4)

  • #61774C

    #61774C

    oklch(54% 0.069 130.4)

  • #387C78

    #387C78

    oklch(54.1% 0.069 190.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5F7B

    #8A5F7B

    oklch(54% 0.068 340.4)

  • #787040

    #787040

    oklch(54.1% 0.068 100)

  • #3C788A

    #3C788A

    oklch(54% 0.068 219.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5F7B

    #8A5F7B

    oklch(54% 0.068 340.4)

  • #886841

    #886841

    oklch(54% 0.068 71)

  • #497B61

    #497B61

    oklch(54% 0.068 160.3)

  • #507295

    #507295

    oklch(54.1% 0.068 249.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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