#8A3E82

Closest named color: Light Eggplant (#894585). oklch(48.9% 0.135 331.6), rgb(138, 62, 130).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.09:1
White text6.79:1

Values

HEX#8A3E82
RGBrgb(138, 62, 130)
HSLhsl(306, 38%, 39%)
OKLCHoklch(48.9% 0.135 331.6)

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 #8A3E82 6.79:1 AA Lc -88.0 Fine for body text
Black text on #8A3E82 3.09:1 AA large text Lc 21.1 Dividers and decoration only
#8A3E82 text on white 6.79:1 AA Lc 82.9 Fine for body text
#8A3E82 text on black 3.09:1 AA large text Lc -19.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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E8D1E4

    oklch(88.5% 0.036 331.6)

  4. Step 300

    300

    #DAB2D4

    oklch(80.9% 0.065 331.2)

  5. Step 400

    400

    #C788BE

    oklch(70.7% 0.105 331.8)

  6. Step 500

    500

    #B769AE

    oklch(63.1% 0.133 331.3)

  7. Step 600

    600

    #A24E99

    oklch(55.5% 0.146 331.5)

  8. Step 700

    700 (this color)

    #8A3E82

    oklch(48.9% 0.135 331.6)

  9. Step 800

    800

    #71346A

    oklch(42.7% 0.113 331.9)

  10. Step 900

    900

    #5C2E56

    oklch(37.7% 0.088 332.2)

  11. Step 950

    950

    #361C33

    oklch(27.2% 0.055 331.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A3E82 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)#3B54840.138
Deuteranopia (no green cones)#525F800.122
Tritanopia (no blue cones)#8F445A0.072
Achromatopsia (no color)#5B5B5B0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A3E82

    #8A3E82

    oklch(48.9% 0.135 331.6)

  • #007438

    #007438

    oklch(48.9% 0.13 151.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A3E82

    #8A3E82

    oklch(48.9% 0.135 331.6)

  • #6F499F

    #6F499F

    oklch(48.8% 0.136 302)

  • #9A385B

    #9A385B

    oklch(48.9% 0.135 1.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A3E82

    #8A3E82

    oklch(48.9% 0.135 331.6)

  • #566900

    #566900

    oklch(48.8% 0.117 121.2)

  • #007063

    #007063

    oklch(48.9% 0.088 181.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A3E82

    #8A3E82

    oklch(48.9% 0.135 331.6)

  • #755D00

    #755D00

    oklch(48.8% 0.1 91.2)

  • #006C7C

    #006C7C

    oklch(48.8% 0.085 212.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A3E82

    #8A3E82

    oklch(48.9% 0.135 331.6)

  • #8C4E00

    #8C4E00

    oklch(48.7% 0.113 61.5)

  • #007438

    #007438

    oklch(48.9% 0.13 151.7)

  • #00669B

    #00669B

    oklch(48.9% 0.115 241.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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