#8E2B79

Closest named color: Warm Purple (#952E8F). oklch(46.7% 0.16 337.5), rgb(142, 43, 121).

Aa

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

About this color

#8E2B79 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.160 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.037 away. White text reads best on it, at 7.57:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.160)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text2.77:1
White text7.57:1

Values

HEX#8E2B79
RGBrgb(142, 43, 121)
HSLhsl(313, 54%, 36%)
OKLCHoklch(46.7% 0.16 337.5)

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 #8E2B79 7.57:1 AAA Lc -90.3 Preferred for body text
Black text on #8E2B79 2.77:1 Fails Lc 18.6 Dividers and decoration only
#8E2B79 text on white 7.57:1 AAA Lc 85.4 Fine for body text
#8E2B79 text on black 2.77:1 Fails Lc -16.6 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4EF

    oklch(93.5% 0.023 336.8)

  3. Step 200

    200

    #EDCFE3

    oklch(88.5% 0.043 338.2)

  4. Step 300

    300

    #E2AED3

    oklch(80.9% 0.077 337.1)

  5. Step 400

    400

    #D281BC

    oklch(70.7% 0.124 337.6)

  6. Step 500

    500

    #C45FAB

    oklch(63.2% 0.158 337.6)

  7. Step 600

    600

    #AF4296

    oklch(55.6% 0.172 337.7)

  8. Step 700

    700 (this color)

    #8E2B79

    oklch(46.7% 0.16 337.5)

  9. Step 800

    800

    #7A2B68

    oklch(42.7% 0.133 337.7)

  10. Step 900

    900

    #632855

    oklch(37.8% 0.104 337.6)

  11. Step 950

    950

    #3A1832

    oklch(27% 0.066 337)

Export this scale for Tailwind in the Tailwind colors tool

#8E2B79 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)#2E4A7B0.173
Deuteranopia (no green cones)#4E5A770.151
Tritanopia (no blue cones)#96304E0.077
Achromatopsia (no color)#5454540.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E2B79

    #8E2B79

    oklch(46.7% 0.16 337.5)

  • #006C41

    #006C41

    oklch(46.8% 0.11 157.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E2B79

    #8E2B79

    oklch(46.7% 0.16 337.5)

  • #72399E

    #72399E

    oklch(46.7% 0.161 307.2)

  • #9E224A

    #9E224A

    oklch(46.7% 0.161 7.3)

Open the analogous palette in the generator

Split complementary

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

  • #8E2B79

    #8E2B79

    oklch(46.7% 0.16 337.5)

  • #476600

    #476600

    oklch(46.8% 0.122 127.5)

  • #006862

    #006862

    oklch(46.6% 0.081 187.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E2B79

    #8E2B79

    oklch(46.7% 0.16 337.5)

  • #695900

    #695900

    oklch(46.6% 0.096 97)

  • #006579

    #006579

    oklch(46.8% 0.084 217.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E2B79

    #8E2B79

    oklch(46.7% 0.16 337.5)

  • #7F4D00

    #7F4D00

    oklch(46.7% 0.103 67.9)

  • #006C41

    #006C41

    oklch(46.8% 0.11 157.6)

  • #005D9B

    #005D9B

    oklch(46.6% 0.124 247.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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