#8E3399

Closest named color: Warm Purple (#952E8F). oklch(49.3% 0.175 323.2), rgb(142, 51, 153).

Aa

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

About this color

#8E3399 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.175 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.022 away. White text reads best on it, at 6.81:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.175)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.08:1
White text6.81:1

Values

HEX#8E3399
RGBrgb(142, 51, 153)
HSLhsl(294, 50%, 40%)
OKLCHoklch(49.3% 0.175 323.2)

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 #8E3399 6.81:1 AA Lc -87.7 Fine for body text
Black text on #8E3399 3.08:1 AA large text Lc 21.3 Dividers and decoration only
#8E3399 text on white 6.81:1 AA Lc 82.7 Fine for body text
#8E3399 text on black 3.08: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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F4

    oklch(93.7% 0.024 321.7)

  3. Step 200

    200

    #E9CFEB

    oklch(88.4% 0.047 323.8)

  4. Step 300

    300

    #DCAEE1

    oklch(80.8% 0.086 323.1)

  5. Step 400

    400

    #C982D1

    oklch(70.7% 0.136 323.3)

  6. Step 500

    500

    #BA5FC5

    oklch(63.1% 0.174 323.2)

  7. Step 600

    600

    #A542B1

    oklch(55.6% 0.188 323.2)

  8. Step 700

    700 (this color)

    #8E3399

    oklch(49.3% 0.175 323.2)

  9. Step 800

    800

    #732B7C

    oklch(42.7% 0.146 323.1)

  10. Step 900

    900

    #5D2863

    oklch(37.6% 0.113 323.5)

  11. Step 950

    950

    #37183A

    oklch(27% 0.072 324)

Export this scale for Tailwind in the Tailwind colors tool

#8E3399 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)#1B549C0.178
Deuteranopia (no green cones)#425E960.152
Tritanopia (no blue cones)#9043620.103
Achromatopsia (no color)#5B5B5B0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E3399

    #8E3399

    oklch(49.3% 0.175 323.2)

  • #00770C

    #00770C

    oklch(49.4% 0.164 143.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E3399

    #8E3399

    oklch(49.3% 0.175 323.2)

  • #6944B9

    #6944B9

    oklch(49.2% 0.176 293.5)

  • #A62469

    #A62469

    oklch(49.3% 0.176 353.5)

Open the analogous palette in the generator

Split complementary

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

  • #8E3399

    #8E3399

    oklch(49.3% 0.175 323.2)

  • #626700

    #626700

    oklch(49.3% 0.11 113.1)

  • #00725C

    #00725C

    oklch(49.2% 0.094 173.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E3399

    #8E3399

    oklch(49.3% 0.175 323.2)

  • #7D5B00

    #7D5B00

    oklch(49.4% 0.101 83.2)

  • #006F77

    #006F77

    oklch(49.4% 0.084 203.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E3399

    #8E3399

    oklch(49.3% 0.175 323.2)

  • #964900

    #964900

    oklch(49.3% 0.125 53.3)

  • #00770C

    #00770C

    oklch(49.4% 0.164 143.2)

  • #006A92

    #006A92

    oklch(49.4% 0.102 233.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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