#8A417B

Closest named color: Light Eggplant (#894585). oklch(48.9% 0.124 335.7), rgb(138, 65, 123).

Aa

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

About this color

#8A417B is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.124 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.017 away. White text reads best on it, at 6.72:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.124)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text3.12:1
White text6.72:1

Values

HEX#8A417B
RGBrgb(138, 65, 123)
HSLhsl(312, 36%, 40%)
OKLCHoklch(48.9% 0.124 335.7)

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 #8A417B 6.72:1 AA Lc -87.8 Fine for body text
Black text on #8A417B 3.12:1 AA large text Lc 21.3 Dividers and decoration only
#8A417B text on white 6.72:1 AA Lc 82.7 Fine for body text
#8A417B text on black 3.12:1 AA large text Lc -19.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

    #F9F3F7

    oklch(97% 0.008 337.4)

  2. Step 100

    100

    #F2E6EE

    oklch(93.7% 0.017 337.6)

  3. Step 200

    200

    #E8D1E2

    oklch(88.5% 0.034 334.9)

  4. Step 300

    300

    #DAB2D0

    oklch(80.8% 0.061 335.1)

  5. Step 400

    400

    #C789B8

    oklch(70.7% 0.098 335.7)

  6. Step 500

    500

    #B76BA6

    oklch(63.1% 0.123 335.7)

  7. Step 600

    600

    #A25191

    oklch(55.6% 0.134 335.7)

  8. Step 700

    700 (this color)

    #8A417B

    oklch(48.9% 0.124 335.7)

  9. Step 800

    800

    #713664

    oklch(42.7% 0.104 336.3)

  10. Step 900

    900

    #5B3052

    oklch(37.7% 0.079 335.3)

  11. Step 950

    950

    #361C30

    oklch(27% 0.052 336)

Export this scale for Tailwind in the Tailwind colors tool

#8A417B 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)#42557D0.127
Deuteranopia (no green cones)#5660790.115
Tritanopia (no blue cones)#9044580.061
Achromatopsia (no color)#5C5C5C0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A417B

    #8A417B

    oklch(48.9% 0.124 335.7)

  • #007342

    #007342

    oklch(48.8% 0.119 155.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A417B

    #8A417B

    oklch(48.9% 0.124 335.7)

  • #724B97

    #724B97

    oklch(49% 0.123 306.1)

  • #983D56

    #983D56

    oklch(49% 0.124 5.8)

Open the analogous palette in the generator

Split complementary

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

  • #8A417B

    #8A417B

    oklch(48.9% 0.124 335.7)

  • #4F6C00

    #4F6C00

    oklch(49% 0.125 125.9)

  • #007067

    #007067

    oklch(49% 0.086 185.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A417B

    #8A417B

    oklch(48.9% 0.124 335.7)

  • #725F00

    #725F00

    oklch(49% 0.101 95.4)

  • #006C7F

    #006C7F

    oklch(48.9% 0.087 215.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A417B

    #8A417B

    oklch(48.9% 0.124 335.7)

  • #895100

    #895100

    oklch(48.9% 0.109 65.7)

  • #007342

    #007342

    oklch(48.8% 0.119 155.9)

  • #0265A1

    #0265A1

    oklch(49% 0.123 245.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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