#8E38AE

Closest named color: Purply (#983FB2). oklch(51.2% 0.188 315.4), rgb(142, 56, 174).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.188)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.32:1
White text6.31:1

Values

HEX#8E38AE
RGBrgb(142, 56, 174)
HSLhsl(284, 51%, 45%)
OKLCHoklch(51.2% 0.188 315.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 #8E38AE 6.31:1 AA Lc -85.8 Fine for body text
Black text on #8E38AE 3.32:1 AA large text Lc 23.4 Dividers and decoration only
#8E38AE text on white 6.31:1 AA Lc 80.6 Fine for body text
#8E38AE text on black 3.32:1 AA large text Lc -21.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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E6D0F0

    oklch(88.5% 0.049 315.4)

  4. Step 300

    300

    #D7AFE9

    oklch(80.9% 0.091 315.2)

  5. Step 400

    400

    #C382DE

    oklch(70.7% 0.146 315.5)

  6. Step 500

    500

    #B35FD5

    oklch(63.1% 0.186 315.2)

  7. Step 600

    600

    #9F41C2

    oklch(55.7% 0.202 315.5)

  8. Step 700

    700 (this color)

    #8E38AE

    oklch(51.2% 0.188 315.4)

  9. Step 800

    800

    #6E2A87

    oklch(42.6% 0.156 315.6)

  10. Step 900

    900

    #59286C

    oklch(37.6% 0.121 315.4)

  11. Step 950

    950

    #341840

    oklch(26.9% 0.078 314.7)

Export this scale for Tailwind in the Tailwind colors tool

#8E38AE 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)#005BB10.180
Deuteranopia (no green cones)#3662AB0.157
Tritanopia (no blue cones)#8C4F6E0.123
Achromatopsia (no color)#6060600.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E38AE

    #8E38AE

    oklch(51.2% 0.188 315.4)

  • #3B7800

    #3B7800

    oklch(51.1% 0.15 135.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E38AE

    #8E38AE

    oklch(51.2% 0.188 315.4)

  • #624CCB

    #624CCB

    oklch(51.2% 0.188 285.6)

  • #AB267E

    #AB267E

    oklch(51.2% 0.188 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #8E38AE

    #8E38AE

    oklch(51.2% 0.188 315.4)

  • #706900

    #706900

    oklch(51.1% 0.108 105)

  • #007958

    #007958

    oklch(51.1% 0.106 166)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E38AE

    #8E38AE

    oklch(51.2% 0.188 315.4)

  • #8A5C00

    #8A5C00

    oklch(51.2% 0.108 75.1)

  • #007676

    #007676

    oklch(51.2% 0.087 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E38AE

    #8E38AE

    oklch(51.2% 0.188 315.4)

  • #A74400

    #A74400

    oklch(51.2% 0.146 45.4)

  • #3B7800

    #3B7800

    oklch(51.1% 0.15 135.4)

  • #007191

    #007191

    oklch(51.1% 0.098 226.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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