#8A5278

Closest named color: Dull Purple (#84597E). oklch(51.5% 0.091 340), rgb(138, 82, 120).

Aa

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

About this color

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

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

Values

HEX#8A5278
RGBrgb(138, 82, 120)
HSLhsl(319, 25%, 43%)
OKLCHoklch(51.5% 0.091 340)

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 #8A5278 5.90:1 AA Lc -84.5 Fine for body text
Black text on #8A5278 3.55:1 AA large text Lc 24.7 Dividers and decoration only
#8A5278 text on white 5.90:1 AA Lc 79.3 Fine for body text
#8A5278 text on black 3.55:1 AA large text Lc -22.5 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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #F0E7EC

    oklch(93.6% 0.012 342.6)

  3. Step 200

    200

    #E5D3DE

    oklch(88.5% 0.025 340.3)

  4. Step 300

    300

    #D5B6CA

    oklch(80.9% 0.044 339.3)

  5. Step 400

    400

    #BF90AE

    oklch(70.7% 0.069 340.5)

  6. Step 500

    500

    #AE749B

    oklch(63.2% 0.089 339.6)

  7. Step 600

    600

    #995C85

    oklch(55.7% 0.097 340.2)

  8. Step 700

    700 (this color)

    #8A5278

    oklch(51.5% 0.091 340)

  9. Step 800

    800

    #6A3E5C

    oklch(42.7% 0.075 339.8)

  10. Step 900

    900

    #56354B

    oklch(37.7% 0.058 340.1)

  11. Step 950

    950

    #331F2C

    oklch(27% 0.038 340.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A5278 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)#545F790.093
Deuteranopia (no green cones)#6267760.085
Tritanopia (no blue cones)#9053600.041
Achromatopsia (no color)#6464640.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5278

    #8A5278

    oklch(51.5% 0.091 340)

  • #307755

    #307755

    oklch(51.4% 0.09 159.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5278

    #8A5278

    oklch(51.5% 0.091 340)

  • #78588F

    #78588F

    oklch(51.6% 0.092 310.2)

  • #94505C

    #94505C

    oklch(51.6% 0.092 9.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A5278

    #8A5278

    oklch(51.5% 0.091 340)

  • #567237

    #567237

    oklch(51.5% 0.091 130)

  • #007873

    #007873

    oklch(51.7% 0.089 189.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5278

    #8A5278

    oklch(51.5% 0.091 340)

  • #746822

    #746822

    oklch(51.5% 0.09 99.4)

  • #0E738B

    #0E738B

    oklch(51.5% 0.09 219.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5278

    #8A5278

    oklch(51.5% 0.091 340)

  • #895D26

    #895D26

    oklch(51.5% 0.091 69.1)

  • #307755

    #307755

    oklch(51.4% 0.09 159.9)

  • #3C6B9A

    #3C6B9A

    oklch(51.6% 0.091 250)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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