#8A4A9D

Closest named color: Light Eggplant (#894585). oklch(52% 0.142 318), rgb(138, 74, 157).

Aa

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

About this color

#8A4A9D is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.142 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.038 away. White text reads best on it, at 5.92:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.142)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.54:1
White text5.92:1

Values

HEX#8A4A9D
RGBrgb(138, 74, 157)
HSLhsl(286, 36%, 45%)
OKLCHoklch(52% 0.142 318)

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 #8A4A9D 5.92:1 AA Lc -84.5 Fine for body text
Black text on #8A4A9D 3.54:1 AA large text Lc 24.8 Dividers and decoration only
#8A4A9D text on white 5.92:1 AA Lc 79.2 Fine for body text
#8A4A9D text on black 3.54:1 AA large text Lc -22.6 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E4D2EA

    oklch(88.6% 0.038 317.7)

  4. Step 300

    300

    #D4B3DE

    oklch(80.9% 0.069 318.3)

  5. Step 400

    400

    #BD8ACD

    oklch(70.6% 0.11 317.9)

  6. Step 500

    500

    #AC6BC0

    oklch(63% 0.141 317.9)

  7. Step 600

    600

    #9751AC

    oklch(55.5% 0.153 317.9)

  8. Step 700

    700 (this color)

    #8A4A9D

    oklch(52% 0.142 318)

  9. Step 800

    800

    #693678

    oklch(42.6% 0.119 318.1)

  10. Step 900

    900

    #553061

    oklch(37.7% 0.092 317.4)

  11. Step 950

    950

    #321C39

    oklch(26.9% 0.06 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A4A9D 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)#3A60A00.128
Deuteranopia (no green cones)#4E669B0.114
Tritanopia (no blue cones)#8A566C0.092
Achromatopsia (no color)#6464640.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A4A9D

    #8A4A9D

    oklch(52% 0.142 318)

  • #3A7B1E

    #3A7B1E

    oklch(52% 0.142 138.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A4A9D

    #8A4A9D

    oklch(52% 0.142 318)

  • #6758B5

    #6758B5

    oklch(52.1% 0.142 287.9)

  • #A14077

    #A14077

    oklch(52% 0.143 348.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A4A9D

    #8A4A9D

    oklch(52% 0.142 318)

  • #706D00

    #706D00

    oklch(52% 0.112 107.8)

  • #007C5D

    #007C5D

    oklch(52.1% 0.106 167.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A4A9D

    #8A4A9D

    oklch(52% 0.142 318)

  • #8B6000

    #8B6000

    oklch(52.1% 0.109 78.2)

  • #00787B

    #00787B

    oklch(52% 0.088 197.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A4A9D

    #8A4A9D

    oklch(52% 0.142 318)

  • #A74900

    #A74900

    oklch(52% 0.142 48)

  • #3A7B1E

    #3A7B1E

    oklch(52% 0.142 138.1)

  • #007397

    #007397

    oklch(51.9% 0.102 228.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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