#8B2BA6

Closest named color: Warm Purple (#952E8F). oklch(48.9% 0.196 317.7), rgb(139, 43, 166).

Aa

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

About this color

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

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

Values

HEX#8B2BA6
RGBrgb(139, 43, 166)
HSLhsl(287, 59%, 41%)
OKLCHoklch(48.9% 0.196 317.7)

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 #8B2BA6 7.01:1 AAA Lc -88.3 Fine for body text
Black text on #8B2BA6 2.99:1 Fails Lc 20.8 Dividers and decoration only
#8B2BA6 text on white 7.01:1 AAA Lc 83.3 Fine for body text
#8B2BA6 text on black 2.99:1 Fails Lc -18.7 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F6

    oklch(93.7% 0.027 318.2)

  3. Step 200

    200

    #E8CFF0

    oklch(88.5% 0.052 317.9)

  4. Step 300

    300

    #DAAEE9

    oklch(81% 0.094 317.4)

  5. Step 400

    400

    #C780DE

    oklch(70.8% 0.152 317.5)

  6. Step 500

    500

    #B85BD4

    oklch(63.1% 0.194 317.8)

  7. Step 600

    600

    #A33BC1

    oklch(55.5% 0.211 317.7)

  8. Step 700

    700 (this color)

    #8B2BA6

    oklch(48.9% 0.196 317.7)

  9. Step 800

    800

    #712687

    oklch(42.6% 0.162 317.5)

  10. Step 900

    900

    #5C266C

    oklch(37.8% 0.126 317.8)

  11. Step 950

    950

    #36173F

    oklch(27% 0.08 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#8B2BA6 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)#0053A90.187
Deuteranopia (no green cones)#2F5CA30.169
Tritanopia (no blue cones)#8A44660.123
Achromatopsia (no color)#5959590.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B2BA6

    #8B2BA6

    oklch(48.9% 0.196 317.7)

  • #2D7200

    #2D7200

    oklch(48.8% 0.15 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B2BA6

    #8B2BA6

    oklch(48.9% 0.196 317.7)

  • #6041C6

    #6041C6

    oklch(49% 0.196 287.6)

  • #A71274

    #A71274

    oklch(48.9% 0.196 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #8B2BA6

    #8B2BA6

    oklch(48.9% 0.196 317.7)

  • #676400

    #676400

    oklch(49% 0.105 107.7)

  • #007255

    #007255

    oklch(49% 0.1 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B2BA6

    #8B2BA6

    oklch(48.9% 0.196 317.7)

  • #805700

    #805700

    oklch(48.9% 0.102 77.1)

  • #006E71

    #006E71

    oklch(48.9% 0.083 198.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B2BA6

    #8B2BA6

    oklch(48.9% 0.196 317.7)

  • #9A4200

    #9A4200

    oklch(48.8% 0.134 47.6)

  • #2D7200

    #2D7200

    oklch(48.8% 0.15 137.8)

  • #006A8A

    #006A8A

    oklch(48.9% 0.095 227.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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