#8A4C9D

Closest named color: Light Eggplant (#894585). oklch(52.3% 0.139 317.8), rgb(138, 76, 157).

Aa

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

About this color

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

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

Values

HEX#8A4C9D
RGBrgb(138, 76, 157)
HSLhsl(286, 35%, 46%)
OKLCHoklch(52.3% 0.139 317.8)

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 #8A4C9D 5.83:1 AA Lc -84.1 Fine for body text
Black text on #8A4C9D 3.60:1 AA large text Lc 25.2 Dividers and decoration only
#8A4C9D text on white 5.83:1 AA Lc 78.8 Fine for body text
#8A4C9D text on black 3.60:1 AA large text Lc -23.0 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E4D2EA

    oklch(88.6% 0.038 317.7)

  4. Step 300

    300

    #D3B4DD

    oklch(81% 0.066 317.9)

  5. Step 400

    400

    #BC8BCC

    oklch(70.7% 0.107 317.6)

  6. Step 500

    500

    #AB6CBF

    oklch(63% 0.138 317.7)

  7. Step 600

    600

    #9653AB

    oklch(55.6% 0.148 317.6)

  8. Step 700

    700 (this color)

    #8A4C9D

    oklch(52.3% 0.139 317.8)

  9. Step 800

    800

    #683777

    oklch(42.6% 0.115 317.8)

  10. Step 900

    900

    #553060

    oklch(37.6% 0.09 318.1)

  11. Step 950

    950

    #321D38

    oklch(27.1% 0.056 318.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A4C9D 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)#3C61A00.125
Deuteranopia (no green cones)#4F679B0.111
Tritanopia (no blue cones)#8A586D0.090
Achromatopsia (no color)#6565650.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A4C9D

    #8A4C9D

    oklch(52.3% 0.139 317.8)

  • #3D7B21

    #3D7B21

    oklch(52.2% 0.138 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A4C9D

    #8A4C9D

    oklch(52.3% 0.139 317.8)

  • #6759B4

    #6759B4

    oklch(52.2% 0.139 287.7)

  • #A14378

    #A14378

    oklch(52.4% 0.138 348)

Open the analogous palette in the generator

Split complementary

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

  • #8A4C9D

    #8A4C9D

    oklch(52.3% 0.139 317.8)

  • #716E00

    #716E00

    oklch(52.4% 0.113 107.8)

  • #007D5E

    #007D5E

    oklch(52.4% 0.106 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A4C9D

    #8A4C9D

    oklch(52.3% 0.139 317.8)

  • #8C6000

    #8C6000

    oklch(52.3% 0.109 77.5)

  • #00797C

    #00797C

    oklch(52.3% 0.089 197.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A4C9D

    #8A4C9D

    oklch(52.3% 0.139 317.8)

  • #A74B0A

    #A74B0A

    oklch(52.3% 0.138 47.8)

  • #3D7B21

    #3D7B21

    oklch(52.2% 0.138 137.7)

  • #007498

    #007498

    oklch(52.2% 0.102 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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