#8B2791

Closest named color: Warm Purple (#952E8F). oklch(47.2% 0.182 325.5), rgb(139, 39, 145).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.182)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.79:1
White text7.50:1

Values

HEX#8B2791
RGBrgb(139, 39, 145)
HSLhsl(297, 58%, 36%)
OKLCHoklch(47.2% 0.182 325.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 #8B2791 7.50:1 AAA Lc -89.9 Fine for body text
Black text on #8B2791 2.79:1 Fails Lc 19.0 Dividers and decoration only
#8B2791 text on white 7.50:1 AAA Lc 85.0 Fine for body text
#8B2791 text on black 2.79:1 Fails Lc -17.0 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

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EBCFEB

    oklch(88.6% 0.048 326)

  4. Step 300

    300

    #DEADE0

    oklch(80.8% 0.088 325.1)

  5. Step 400

    400

    #CD80D0

    oklch(70.8% 0.141 325.6)

  6. Step 500

    500

    #BE5CC3

    oklch(63.1% 0.179 325.6)

  7. Step 600

    600

    #A93DB0

    oklch(55.6% 0.196 325.3)

  8. Step 700

    700 (this color)

    #8B2791

    oklch(47.2% 0.182 325.5)

  9. Step 800

    800

    #76287B

    oklch(42.8% 0.151 325.3)

  10. Step 900

    900

    #5F2663

    oklch(37.6% 0.118 325)

  11. Step 950

    950

    #38173A

    oklch(26.9% 0.075 325.2)

Export this scale for Tailwind in the Tailwind colors tool

#8B2791 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)#094D940.192
Deuteranopia (no green cones)#3E598E0.162
Tritanopia (no blue cones)#8E395A0.104
Achromatopsia (no color)#5555550.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B2791

    #8B2791

    oklch(47.2% 0.182 325.5)

  • #006F1E

    #006F1E

    oklch(47.1% 0.146 145.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B2791

    #8B2791

    oklch(47.2% 0.182 325.5)

  • #673AB4

    #673AB4

    oklch(47.2% 0.183 295.4)

  • #A2135F

    #A2135F

    oklch(47.2% 0.182 355.8)

Open the analogous palette in the generator

Split complementary

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

  • #8B2791

    #8B2791

    oklch(47.2% 0.182 325.5)

  • #596200

    #596200

    oklch(47.2% 0.108 115.8)

  • #006B59

    #006B59

    oklch(47.1% 0.088 175.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B2791

    #8B2791

    oklch(47.2% 0.182 325.5)

  • #745600

    #745600

    oklch(47.2% 0.097 85)

  • #006871

    #006871

    oklch(47.2% 0.081 205.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B2791

    #8B2791

    oklch(47.2% 0.182 325.5)

  • #8B4600

    #8B4600

    oklch(47.2% 0.116 55.4)

  • #006F1E

    #006F1E

    oklch(47.1% 0.146 145.6)

  • #00638C

    #00638C

    oklch(47.2% 0.101 235.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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