#8E2A6B

Closest named color: Red Violet (#9E0168). oklch(45.9% 0.151 344.8), rgb(142, 42, 107).

Aa

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

About this color

#8E2A6B is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.151 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.043 away. White text reads best on it, at 7.79:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.151)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.69:1
White text7.79:1

Values

HEX#8E2A6B
RGBrgb(142, 42, 107)
HSLhsl(321, 54%, 36%)
OKLCHoklch(45.9% 0.151 344.8)

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 #8E2A6B 7.79:1 AAA Lc -90.9 Preferred for body text
Black text on #8E2A6B 2.69:1 Fails Lc 17.9 Dividers and decoration only
#8E2A6B text on white 7.79:1 AAA Lc 86.1 Fine for body text
#8E2A6B text on black 2.69:1 Fails Lc -15.9 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E5ED

    oklch(93.7% 0.02 345.7)

  3. Step 200

    200

    #EECFDF

    oklch(88.5% 0.04 345.4)

  4. Step 300

    300

    #E4AECC

    oklch(80.9% 0.074 344.4)

  5. Step 400

    400

    #D482B2

    oklch(70.7% 0.117 344.5)

  6. Step 500

    500

    #C7609E

    oklch(63.2% 0.149 345.1)

  7. Step 600

    600

    #B24389

    oklch(55.6% 0.163 344.9)

  8. Step 700

    700 (this color)

    #8E2A6B

    oklch(45.9% 0.151 344.8)

  9. Step 800

    800

    #7C2C5F

    oklch(42.7% 0.126 344.6)

  10. Step 900

    900

    #64294D

    oklch(37.7% 0.097 345.2)

  11. Step 950

    950

    #3B192D

    oklch(27.1% 0.061 345.6)

Export this scale for Tailwind in the Tailwind colors tool

#8E2A6B 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)#35476D0.166
Deuteranopia (no green cones)#5358690.145
Tritanopia (no blue cones)#9729460.064
Achromatopsia (no color)#5252520.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E2A6B

    #8E2A6B

    oklch(45.9% 0.151 344.8)

  • #00684A

    #00684A

    oklch(45.8% 0.096 165.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E2A6B

    #8E2A6B

    oklch(45.9% 0.151 344.8)

  • #763691

    #763691

    oklch(45.9% 0.152 314.5)

  • #9A253C

    #9A253C

    oklch(45.9% 0.152 14.7)

Open the analogous palette in the generator

Split complementary

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

  • #8E2A6B

    #8E2A6B

    oklch(45.9% 0.151 344.8)

  • #346700

    #346700

    oklch(46% 0.134 134.7)

  • #006565

    #006565

    oklch(45.9% 0.078 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E2A6B

    #8E2A6B

    oklch(45.9% 0.151 344.8)

  • #605A00

    #605A00

    oklch(45.9% 0.097 105.1)

  • #00617C

    #00617C

    oklch(45.8% 0.087 225.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E2A6B

    #8E2A6B

    oklch(45.9% 0.151 344.8)

  • #774E00

    #774E00

    oklch(45.8% 0.097 74.4)

  • #00684A

    #00684A

    oklch(45.8% 0.096 165.1)

  • #0056A8

    #0056A8

    oklch(45.9% 0.149 254.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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