#8A5C7D

Closest named color: Dusky Purple (#895B7B). oklch(53.5% 0.076 337.6), rgb(138, 92, 125).

Aa

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

About this color

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

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

Values

HEX#8A5C7D
RGBrgb(138, 92, 125)
HSLhsl(317, 20%, 45%)
OKLCHoklch(53.5% 0.076 337.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 #8A5C7D 5.37:1 AA Lc -82.0 Fine for body text
Black text on #8A5C7D 3.90:1 AA large text Lc 27.4 Dividers and decoration only
#8A5C7D text on white 5.37:1 AA Lc 76.7 Fine for body text
#8A5C7D text on black 3.90:1 AA large text Lc -25.1 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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #EEE7EC

    oklch(93.5% 0.01 335.5)

  3. Step 200

    200

    #E2D5DE

    oklch(88.6% 0.019 336.6)

  4. Step 300

    300

    #D0B9C8

    oklch(81% 0.033 338.7)

  5. Step 400

    400

    #B894AD

    oklch(70.7% 0.055 337.5)

  6. Step 500

    500

    #A67999

    oklch(63.1% 0.071 337.4)

  7. Step 600

    600 (this color)

    #8A5C7D

    oklch(53.5% 0.076 337.6)

  8. Step 700

    700

    #7B516F

    oklch(49.2% 0.071 337.7)

  9. Step 800

    800

    #64425A

    oklch(42.6% 0.059 338)

  10. Step 900

    900

    #52384A

    oklch(37.7% 0.046 338.4)

  11. Step 950

    950

    #30212B

    oklch(27% 0.029 339.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A5C7D 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)#5D667E0.075
Deuteranopia (no green cones)#686D7C0.070
Tritanopia (no blue cones)#8F5D680.035
Achromatopsia (no color)#6A6A6A0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5C7D

    #8A5C7D

    oklch(53.5% 0.076 337.6)

  • #457B5C

    #457B5C

    oklch(53.6% 0.076 157.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5C7D

    #8A5C7D

    oklch(53.5% 0.076 337.6)

  • #796190

    #796190

    oklch(53.5% 0.077 307.3)

  • #935A65

    #935A65

    oklch(53.4% 0.076 7.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A5C7D

    #8A5C7D

    oklch(53.5% 0.076 337.6)

  • #617645

    #617645

    oklch(53.6% 0.076 127.7)

  • #2E7C75

    #2E7C75

    oklch(53.7% 0.076 186.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5C7D

    #8A5C7D

    oklch(53.5% 0.076 337.6)

  • #796E37

    #796E37

    oklch(53.6% 0.076 98.2)

  • #30788A

    #30788A

    oklch(53.5% 0.076 217.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5C7D

    #8A5C7D

    oklch(53.5% 0.076 337.6)

  • #8B653B

    #8B653B

    oklch(53.6% 0.076 67.8)

  • #457B5C

    #457B5C

    oklch(53.6% 0.076 157.4)

  • #487197

    #487197

    oklch(53.5% 0.076 247.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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