#8D408C

Closest named color: Light Eggplant (#894585). oklch(50.1% 0.143 327.9), rgb(141, 64, 140).

Aa

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

About this color

#8D408C is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.143 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.018 away. White text reads best on it, at 6.47:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.143)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.24:1
White text6.47:1

Values

HEX#8D408C
RGBrgb(141, 64, 140)
HSLhsl(301, 38%, 40%)
OKLCHoklch(50.1% 0.143 327.9)

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 #8D408C 6.47:1 AA Lc -86.7 Fine for body text
Black text on #8D408C 3.24:1 AA large text Lc 22.4 Dividers and decoration only
#8D408C text on white 6.47:1 AA Lc 81.6 Fine for body text
#8D408C text on black 3.24:1 AA large text Lc -20.3 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F1

    oklch(93.6% 0.021 328.1)

  3. Step 200

    200

    #E8D1E6

    oklch(88.6% 0.038 328.6)

  4. Step 300

    300

    #DAB1D8

    oklch(80.9% 0.07 327.8)

  5. Step 400

    400

    #C687C4

    oklch(70.7% 0.112 327.8)

  6. Step 500

    500

    #B667B4

    oklch(63% 0.142 328)

  7. Step 600

    600

    #A14DA0

    oklch(55.6% 0.153 327.8)

  8. Step 700

    700 (this color)

    #8D408C

    oklch(50.1% 0.143 327.9)

  9. Step 800

    800

    #70336F

    oklch(42.6% 0.118 328)

  10. Step 900

    900

    #5B2D5A

    oklch(37.6% 0.093 328)

  11. Step 950

    950

    #351B35

    oklch(26.9% 0.059 327.1)

Export this scale for Tailwind in the Tailwind colors tool

#8D408C 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)#39588E0.143
Deuteranopia (no green cones)#51628A0.126
Tritanopia (no blue cones)#9148600.080
Achromatopsia (no color)#5E5E5E0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D408C

    #8D408C

    oklch(50.1% 0.143 327.9)

  • #05782E

    #05782E

    oklch(50% 0.143 147.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D408C

    #8D408C

    oklch(50.1% 0.143 327.9)

  • #6F4DA9

    #6F4DA9

    oklch(50.1% 0.143 298.1)

  • #A03863

    #A03863

    oklch(50.1% 0.144 358.1)

Open the analogous palette in the generator

Split complementary

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

  • #8D408C

    #8D408C

    oklch(50.1% 0.143 327.9)

  • #5E6B00

    #5E6B00

    oklch(49.9% 0.116 117.7)

  • #007463

    #007463

    oklch(50% 0.092 177.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D408C

    #8D408C

    oklch(50.1% 0.143 327.9)

  • #7C5F00

    #7C5F00

    oklch(50.1% 0.102 87.8)

  • #00717D

    #00717D

    oklch(50.2% 0.086 207.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D408C

    #8D408C

    oklch(50.1% 0.143 327.9)

  • #944F00

    #944F00

    oklch(50.1% 0.119 58.5)

  • #05782E

    #05782E

    oklch(50% 0.143 147.9)

  • #006B9B

    #006B9B

    oklch(50.1% 0.111 238)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8D408C.

Similar named colors

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

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