#8E2B9C

Closest named color: Warm Purple (#952E8F). oklch(48.7% 0.188 322.5), rgb(142, 43, 156).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.188)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.97:1
White text7.05:1

Values

HEX#8E2B9C
RGBrgb(142, 43, 156)
HSLhsl(293, 57%, 39%)
OKLCHoklch(48.7% 0.188 322.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 #8E2B9C 7.05:1 AAA Lc -88.5 Fine for body text
Black text on #8E2B9C 2.97:1 Fails Lc 20.6 Dividers and decoration only
#8E2B9C text on white 7.05:1 AAA Lc 83.5 Fine for body text
#8E2B9C text on black 2.97:1 Fails Lc -18.5 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EACFED

    oklch(88.6% 0.05 322.8)

  4. Step 300

    300

    #DDADE3

    oklch(80.8% 0.091 322.7)

  5. Step 400

    400

    #CB7FD5

    oklch(70.6% 0.146 322.7)

  6. Step 500

    500

    #BC5BCA

    oklch(63.1% 0.186 322.4)

  7. Step 600

    600

    #A73CB7

    oklch(55.6% 0.202 322.2)

  8. Step 700

    700 (this color)

    #8E2B9C

    oklch(48.7% 0.188 322.5)

  9. Step 800

    800

    #742780

    oklch(42.7% 0.156 322)

  10. Step 900

    900

    #5E2666

    oklch(37.7% 0.12 322.5)

  11. Step 950

    950

    #37173C

    oklch(26.9% 0.077 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#8E2B9C 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)#00519F0.194
Deuteranopia (no green cones)#3B5C990.165
Tritanopia (no blue cones)#903F610.112
Achromatopsia (no color)#5959590.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E2B9C

    #8E2B9C

    oklch(48.7% 0.188 322.5)

  • #017500

    #017500

    oklch(48.7% 0.166 142.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E2B9C

    #8E2B9C

    oklch(48.7% 0.188 322.5)

  • #673FBE

    #673FBE

    oklch(48.7% 0.188 292.5)

  • #A7166A

    #A7166A

    oklch(48.7% 0.188 352.2)

Open the analogous palette in the generator

Split complementary

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

  • #8E2B9C

    #8E2B9C

    oklch(48.7% 0.188 322.5)

  • #616500

    #616500

    oklch(48.7% 0.108 112.5)

  • #00705A

    #00705A

    oklch(48.6% 0.093 172.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E2B9C

    #8E2B9C

    oklch(48.7% 0.188 322.5)

  • #7B5900

    #7B5900

    oklch(48.7% 0.1 82.7)

  • #006D74

    #006D74

    oklch(48.7% 0.083 202.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E2B9C

    #8E2B9C

    oklch(48.7% 0.188 322.5)

  • #944700

    #944700

    oklch(48.7% 0.124 52.6)

  • #017500

    #017500

    oklch(48.7% 0.166 142.4)

  • #00688E

    #00688E

    oklch(48.6% 0.1 232.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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