#8A5F7D

Closest named color: Dusky Purple (#895B7B). oklch(54.1% 0.07 338.3), rgb(138, 95, 125).

Aa

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

About this color

#8A5F7D is a medium-dark, moderately saturated pink. In OKLCH its lightness is 54%, its chroma 0.070 and its hue 338°. 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.23:1.

Hue familyPinks
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.070)
Temperaturewarm
Nearest nameDusky Purple (#895B7B)
Black text4.01:1
White text5.23:1

Values

HEX#8A5F7D
RGBrgb(138, 95, 125)
HSLhsl(318, 18%, 46%)
OKLCHoklch(54.1% 0.07 338.3)

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 #8A5F7D 5.23:1 AA Lc -81.2 Fine for body text
Black text on #8A5F7D 4.01:1 AA large text Lc 28.2 Dividers and decoration only
#8A5F7D text on white 5.23:1 AA Lc 75.9 Fine for body text
#8A5F7D text on black 4.01:1 AA large text Lc -25.9 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

    #CFB9C8

    oklch(80.9% 0.032 337.4)

  5. Step 400

    400

    #B695AB

    oklch(70.7% 0.05 338.6)

  6. Step 500

    500

    #A47B97

    oklch(63.2% 0.064 338.4)

  7. Step 600

    600 (this color)

    #8A5F7D

    oklch(54.1% 0.07 338.3)

  8. Step 700

    700

    #79526D

    oklch(49% 0.065 338.6)

  9. Step 800

    800

    #634359

    oklch(42.7% 0.055 338.7)

  10. Step 900

    900

    #513949

    oklch(37.8% 0.042 339.4)

  11. Step 950

    950

    #2F212B

    oklch(26.9% 0.027 337.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A5F7D 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)#60687E0.070
Deuteranopia (no green cones)#6A6F7C0.066
Tritanopia (no blue cones)#8F60690.033
Achromatopsia (no color)#6C6C6C0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5F7D

    #8A5F7D

    oklch(54.1% 0.07 338.3)

  • #4A7C60

    #4A7C60

    oklch(54.2% 0.07 158.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5F7D

    #8A5F7D

    oklch(54.1% 0.07 338.3)

  • #7A648F

    #7A648F

    oklch(54.1% 0.07 307.5)

  • #925E67

    #925E67

    oklch(54.1% 0.069 8.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A5F7D

    #8A5F7D

    oklch(54.1% 0.07 338.3)

  • #63774A

    #63774A

    oklch(54.1% 0.07 128.1)

  • #377C77

    #377C77

    oklch(54.1% 0.07 188.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5F7D

    #8A5F7D

    oklch(54.1% 0.07 338.3)

  • #79703E

    #79703E

    oklch(54.2% 0.07 99.3)

  • #3A798A

    #3A798A

    oklch(54.2% 0.07 217.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5F7D

    #8A5F7D

    oklch(54.1% 0.07 338.3)

  • #8A6741

    #8A6741

    oklch(54% 0.07 67.7)

  • #4A7C60

    #4A7C60

    oklch(54.2% 0.07 158.4)

  • #4E7396

    #4E7396

    oklch(54.2% 0.069 247.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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