#8A4D8A

Closest named color: Light Eggplant (#894585). oklch(51.5% 0.117 327.1), rgb(138, 77, 138).

Aa

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

About this color

#8A4D8A is a medium-dark, moderately saturated purple. In OKLCH its lightness is 52%, its chroma 0.117 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.019 away. White text reads best on it, at 5.98:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.50:1
White text5.98:1

Values

HEX#8A4D8A
RGBrgb(138, 77, 138)
HSLhsl(300, 28%, 42%)
OKLCHoklch(51.5% 0.117 327.1)

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 #8A4D8A 5.98:1 AA Lc -84.9 Fine for body text
Black text on #8A4D8A 3.50:1 AA large text Lc 24.4 Dividers and decoration only
#8A4D8A text on white 5.98:1 AA Lc 79.6 Fine for body text
#8A4D8A text on black 3.50:1 AA large text Lc -22.2 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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6F0

    oklch(93.6% 0.017 325.7)

  3. Step 200

    200

    #E5D2E4

    oklch(88.5% 0.032 327.4)

  4. Step 300

    300

    #D5B4D4

    oklch(80.8% 0.057 327)

  5. Step 400

    400

    #BF8DBE

    oklch(70.8% 0.09 327.1)

  6. Step 500

    500

    #AE6FAE

    oklch(63.1% 0.116 326.8)

  7. Step 600

    600

    #995699

    oklch(55.5% 0.126 327.1)

  8. Step 700

    700 (this color)

    #8A4D8A

    oklch(51.5% 0.117 327.1)

  9. Step 800

    800

    #6A3A6A

    oklch(42.7% 0.096 327.1)

  10. Step 900

    900

    #563256

    oklch(37.6% 0.075 326.9)

  11. Step 950

    950

    #331E33

    oklch(27.1% 0.048 326.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A4D8A 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)#485E8C0.111
Deuteranopia (no green cones)#5966880.100
Tritanopia (no blue cones)#8D53650.066
Achromatopsia (no color)#6363630.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A4D8A

    #8A4D8A

    oklch(51.5% 0.117 327.1)

  • #31793D

    #31793D

    oklch(51.5% 0.117 146.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A4D8A

    #8A4D8A

    oklch(51.5% 0.117 327.1)

  • #6F57A2

    #6F57A2

    oklch(51.5% 0.117 296.8)

  • #9B4768

    #9B4768

    oklch(51.5% 0.118 357.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A4D8A

    #8A4D8A

    oklch(51.5% 0.117 327.1)

  • #636F06

    #636F06

    oklch(51.4% 0.116 117)

  • #007967

    #007967

    oklch(51.5% 0.095 177.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A4D8A

    #8A4D8A

    oklch(51.5% 0.117 327.1)

  • #816300

    #816300

    oklch(51.6% 0.105 87.8)

  • #007581

    #007581

    oklch(51.4% 0.088 207.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A4D8A

    #8A4D8A

    oklch(51.5% 0.117 327.1)

  • #985312

    #985312

    oklch(51.4% 0.117 57.1)

  • #31793D

    #31793D

    oklch(51.5% 0.117 146.9)

  • #0070A0

    #0070A0

    oklch(51.6% 0.113 237)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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