#8E42A3

Closest named color: Purply (#983FB2). oklch(51.7% 0.163 318.4), rgb(142, 66, 163).

Aa

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

About this color

#8E42A3 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.163 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.030 away. White text reads best on it, at 6.07:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.163)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.45:1
White text6.07:1

Values

HEX#8E42A3
RGBrgb(142, 66, 163)
HSLhsl(287, 42%, 45%)
OKLCHoklch(51.7% 0.163 318.4)

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 #8E42A3 6.07:1 AA Lc -85.0 Fine for body text
Black text on #8E42A3 3.45:1 AA large text Lc 24.3 Dividers and decoration only
#8E42A3 text on white 6.07:1 AA Lc 79.8 Fine for body text
#8E42A3 text on black 3.45:1 AA large text Lc -22.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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E6D1EC

    oklch(88.6% 0.043 318.7)

  4. Step 300

    300

    #D7B1E2

    oklch(81% 0.079 318.6)

  5. Step 400

    400

    #C286D3

    oklch(70.7% 0.127 318.6)

  6. Step 500

    500

    #B265C7

    oklch(63.1% 0.162 318.7)

  7. Step 600

    600

    #9D4AB4

    oklch(55.7% 0.175 318.4)

  8. Step 700

    700 (this color)

    #8E42A3

    oklch(51.7% 0.163 318.4)

  9. Step 800

    800

    #6D317D

    oklch(42.7% 0.134 318.7)

  10. Step 900

    900

    #582C65

    oklch(37.7% 0.105 318.1)

  11. Step 950

    950

    #341A3B

    oklch(26.9% 0.068 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#8E42A3 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)#2A5DA60.155
Deuteranopia (no green cones)#4765A10.135
Tritanopia (no blue cones)#8E526C0.104
Achromatopsia (no color)#6262620.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E42A3

    #8E42A3

    oklch(51.7% 0.163 318.4)

  • #2E7C00

    #2E7C00

    oklch(51.7% 0.161 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E42A3

    #8E42A3

    oklch(51.7% 0.163 318.4)

  • #6752BE

    #6752BE

    oklch(51.7% 0.163 288.3)

  • #A73678

    #A73678

    oklch(51.8% 0.163 348.3)

Open the analogous palette in the generator

Split complementary

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

  • #8E42A3

    #8E42A3

    oklch(51.7% 0.163 318.4)

  • #6E6C00

    #6E6C00

    oklch(51.6% 0.112 108.5)

  • #007B5D

    #007B5D

    oklch(51.8% 0.104 168.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E42A3

    #8E42A3

    oklch(51.7% 0.163 318.4)

  • #895F00

    #895F00

    oklch(51.7% 0.108 78.6)

  • #00777B

    #00777B

    oklch(51.7% 0.088 198.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E42A3

    #8E42A3

    oklch(51.7% 0.163 318.4)

  • #A54900

    #A54900

    oklch(51.7% 0.14 48.5)

  • #2E7C00

    #2E7C00

    oklch(51.7% 0.161 138.4)

  • #007296

    #007296

    oklch(51.6% 0.102 228.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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