#8A2971

Closest named color: Red Violet (#9E0168). oklch(45.4% 0.154 339.8), rgb(138, 41, 113).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (45%)
Chromavivid (0.154)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.63:1
White text7.96:1

Values

HEX#8A2971
RGBrgb(138, 41, 113)
HSLhsl(315, 54%, 35%)
OKLCHoklch(45.4% 0.154 339.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 #8A2971 7.96:1 AAA Lc -91.5 Preferred for body text
Black text on #8A2971 2.63:1 Fails Lc 17.3 Dividers and decoration only
#8A2971 text on white 7.96:1 AAA Lc 86.7 Fine for body text
#8A2971 text on black 2.63:1 Fails Lc -15.4 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 800.

  1. Step 50

    50

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F7E3EF

    oklch(93.5% 0.027 340.9)

  3. Step 200

    200

    #F1CDE4

    oklch(88.5% 0.05 339.6)

  4. Step 300

    300

    #E8AAD3

    oklch(80.8% 0.09 339.6)

  5. Step 400

    400

    #DB7ABD

    oklch(70.7% 0.145 339.9)

  6. Step 500

    500

    #CE54AC

    oklch(63.2% 0.183 339.9)

  7. Step 600

    600

    #B93297

    oklch(55.6% 0.2 340)

  8. Step 700

    700

    #9F2381

    oklch(49.1% 0.185 339.9)

  9. Step 800

    800 (this color)

    #8A2971

    oklch(45.4% 0.154 339.8)

  10. Step 900

    900

    #682155

    oklch(37.6% 0.12 339.9)

  11. Step 950

    950

    #3D1532

    oklch(27% 0.075 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A2971 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)#2F47730.167
Deuteranopia (no green cones)#4D566F0.145
Tritanopia (no blue cones)#922C490.071
Achromatopsia (no color)#5151510.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A2971

    #8A2971

    oklch(45.4% 0.154 339.8)

  • #006742

    #006742

    oklch(45.3% 0.102 160.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A2971

    #8A2971

    oklch(45.4% 0.154 339.8)

  • #703695

    #703695

    oklch(45.4% 0.154 309.7)

  • #982243

    #982243

    oklch(45.5% 0.154 9.8)

Open the analogous palette in the generator

Split complementary

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

  • #8A2971

    #8A2971

    oklch(45.4% 0.154 339.8)

  • #3F6300

    #3F6300

    oklch(45.5% 0.122 130)

  • #006460

    #006460

    oklch(45.4% 0.078 190)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A2971

    #8A2971

    oklch(45.4% 0.154 339.8)

  • #635700

    #635700

    oklch(45.5% 0.095 100)

  • #006176

    #006176

    oklch(45.5% 0.083 219.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A2971

    #8A2971

    oklch(45.4% 0.154 339.8)

  • #794B00

    #794B00

    oklch(45.5% 0.099 69.8)

  • #006742

    #006742

    oklch(45.3% 0.102 160.1)

  • #00589A

    #00589A

    oklch(45.4% 0.129 250.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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