#8B3391

Closest named color: Warm Purple (#952E8F). oklch(48.4% 0.167 325.1), rgb(139, 51, 145).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.167)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.98:1
White text7.04:1

Values

HEX#8B3391
RGBrgb(139, 51, 145)
HSLhsl(296, 48%, 38%)
OKLCHoklch(48.4% 0.167 325.1)

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 #8B3391 7.04:1 AAA Lc -88.7 Fine for body text
Black text on #8B3391 2.98:1 Fails Lc 20.4 Dividers and decoration only
#8B3391 text on white 7.04:1 AAA Lc 83.7 Fine for body text
#8B3391 text on black 2.98:1 Fails Lc -18.3 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F3

    oklch(93.6% 0.023 323.6)

  3. Step 200

    200

    #E9D0EA

    oklch(88.6% 0.044 324.8)

  4. Step 300

    300

    #DCAFDE

    oklch(80.9% 0.081 324.9)

  5. Step 400

    400

    #C983CD

    oklch(70.7% 0.13 325)

  6. Step 500

    500

    #BA61BF

    oklch(63.1% 0.165 325.3)

  7. Step 600

    600

    #A545AB

    oklch(55.6% 0.178 325.3)

  8. Step 700

    700 (this color)

    #8B3391

    oklch(48.4% 0.167 325.1)

  9. Step 800

    800

    #732D77

    oklch(42.7% 0.138 325.5)

  10. Step 900

    900

    #5D2A60

    oklch(37.7% 0.106 325.3)

  11. Step 950

    950

    #371938

    oklch(27% 0.068 326.1)

Export this scale for Tailwind in the Tailwind colors tool

#8B3391 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)#2252940.170
Deuteranopia (no green cones)#455C8F0.145
Tritanopia (no blue cones)#8E415D0.098
Achromatopsia (no color)#5959590.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B3391

    #8B3391

    oklch(48.4% 0.167 325.1)

  • #00731D

    #00731D

    oklch(48.3% 0.151 145.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B3391

    #8B3391

    oklch(48.4% 0.167 325.1)

  • #6843B1

    #6843B1

    oklch(48.4% 0.167 294.9)

  • #A12663

    #A12663

    oklch(48.4% 0.167 355.3)

Open the analogous palette in the generator

Split complementary

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

  • #8B3391

    #8B3391

    oklch(48.4% 0.167 325.1)

  • #5D6500

    #5D6500

    oklch(48.3% 0.11 115.1)

  • #006F5C

    #006F5C

    oklch(48.4% 0.091 175.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B3391

    #8B3391

    oklch(48.4% 0.167 325.1)

  • #785900

    #785900

    oklch(48.3% 0.099 85)

  • #006C75

    #006C75

    oklch(48.5% 0.083 204.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B3391

    #8B3391

    oklch(48.4% 0.167 325.1)

  • #904900

    #904900

    oklch(48.4% 0.119 55.6)

  • #00731D

    #00731D

    oklch(48.3% 0.151 145.2)

  • #006790

    #006790

    oklch(48.5% 0.102 234.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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