#8A5478

Closest named color: Dull Purple (#84597E). oklch(51.9% 0.087 340.4), rgb(138, 84, 120).

Aa

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

About this color

#8A5478 is a medium-dark, moderately saturated pink. In OKLCH its lightness is 52%, its chroma 0.087 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Purple (#84597E), ΔE 0.016 away. White text reads best on it, at 5.80:1.

Hue familyPinks
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameDull Purple (#84597E)
Black text3.61:1
White text5.80:1

Values

HEX#8A5478
RGBrgb(138, 84, 120)
HSLhsl(320, 24%, 44%)
OKLCHoklch(51.9% 0.087 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 #8A5478 5.80:1 AA Lc -84.1 Fine for body text
Black text on #8A5478 3.61:1 AA large text Lc 25.2 Dividers and decoration only
#8A5478 text on white 5.80:1 AA Lc 78.9 Fine for body text
#8A5478 text on black 3.61:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #F0E7EC

    oklch(93.6% 0.012 342.6)

  3. Step 200

    200

    #E4D3DE

    oklch(88.4% 0.024 338.7)

  4. Step 300

    300

    #D4B7C9

    oklch(81% 0.041 340.4)

  5. Step 400

    400

    #BE90AE

    oklch(70.6% 0.068 339.8)

  6. Step 500

    500

    #AD7599

    oklch(63.1% 0.085 340.9)

  7. Step 600

    600

    #985D84

    oklch(55.7% 0.093 340.7)

  8. Step 700

    700 (this color)

    #8A5478

    oklch(51.9% 0.087 340.4)

  9. Step 800

    800

    #693F5B

    oklch(42.7% 0.071 340.4)

  10. Step 900

    900

    #56364B

    oklch(37.9% 0.056 340.5)

  11. Step 950

    950

    #321F2C

    oklch(26.9% 0.037 339)

Export this scale for Tailwind in the Tailwind colors tool

#8A5478 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)#5660790.089
Deuteranopia (no green cones)#6468760.081
Tritanopia (no blue cones)#9055610.039
Achromatopsia (no color)#6565650.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5478

    #8A5478

    oklch(51.9% 0.087 340.4)

  • #347858

    #347858

    oklch(51.9% 0.086 160.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5478

    #8A5478

    oklch(51.9% 0.087 340.4)

  • #785A8E

    #785A8E

    oklch(51.9% 0.087 310)

  • #93525D

    #93525D

    oklch(51.8% 0.087 9.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A5478

    #8A5478

    oklch(51.9% 0.087 340.4)

  • #57733B

    #57733B

    oklch(51.9% 0.088 130.7)

  • #0D7874

    #0D7874

    oklch(51.8% 0.087 190.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5478

    #8A5478

    oklch(51.9% 0.087 340.4)

  • #746A28

    #746A28

    oklch(52% 0.087 100.7)

  • #1B748B

    #1B748B

    oklch(52% 0.086 219.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5478

    #8A5478

    oklch(51.9% 0.087 340.4)

  • #885F2B

    #885F2B

    oklch(51.8% 0.087 70.2)

  • #347858

    #347858

    oklch(51.9% 0.086 160.7)

  • #406C99

    #406C99

    oklch(52% 0.087 250.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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