#8B277A

Closest named color: Warm Purple (#952E8F). oklch(45.9% 0.164 335.6), rgb(139, 39, 122).

Aa

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

About this color

#8B277A is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.164 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.040 away. White text reads best on it, at 7.86:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.164)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text2.66:1
White text7.86:1

Values

HEX#8B277A
RGBrgb(139, 39, 122)
HSLhsl(310, 56%, 35%)
OKLCHoklch(45.9% 0.164 335.6)

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 #8B277A 7.86:1 AAA Lc -91.1 Preferred for body text
Black text on #8B277A 2.66:1 Fails Lc 17.7 Dividers and decoration only
#8B277A text on white 7.86:1 AAA Lc 86.3 Fine for body text
#8B277A text on black 2.66:1 Fails Lc -15.8 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F1

    oklch(93.5% 0.028 334.9)

  3. Step 200

    200

    #F1CCE7

    oklch(88.5% 0.054 335.7)

  4. Step 300

    300

    #E8A9D9

    oklch(80.9% 0.096 335.3)

  5. Step 400

    400

    #DA78C5

    oklch(70.6% 0.154 335.6)

  6. Step 500

    500

    #CD50B6

    oklch(63% 0.196 335.5)

  7. Step 600

    600

    #B92CA2

    oklch(55.6% 0.213 335.7)

  8. Step 700

    700

    #9F1C8B

    oklch(49.2% 0.198 335.6)

  9. Step 800

    800 (this color)

    #8B277A

    oklch(45.9% 0.164 335.6)

  10. Step 900

    900

    #681F5B

    oklch(37.7% 0.127 335.7)

  11. Step 950

    950

    #3D1435

    oklch(27% 0.08 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#8B277A 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)#28487C0.177
Deuteranopia (no green cones)#4A57780.152
Tritanopia (no blue cones)#922E4D0.081
Achromatopsia (no color)#5252520.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B277A

    #8B277A

    oklch(45.9% 0.164 335.6)

  • #00693B

    #00693B

    oklch(45.8% 0.112 155.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B277A

    #8B277A

    oklch(45.9% 0.164 335.6)

  • #6E369E

    #6E369E

    oklch(45.8% 0.164 305.6)

  • #9C1C4A

    #9C1C4A

    oklch(45.9% 0.164 5.8)

Open the analogous palette in the generator

Split complementary

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

  • #8B277A

    #8B277A

    oklch(45.9% 0.164 335.6)

  • #486200

    #486200

    oklch(45.8% 0.116 125.6)

  • #00665E

    #00665E

    oklch(45.9% 0.081 185.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B277A

    #8B277A

    oklch(45.9% 0.164 335.6)

  • #685700

    #685700

    oklch(46% 0.095 95.9)

  • #006374

    #006374

    oklch(46% 0.081 214.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B277A

    #8B277A

    oklch(45.9% 0.164 335.6)

  • #7D4A00

    #7D4A00

    oklch(45.9% 0.102 66.2)

  • #00693B

    #00693B

    oklch(45.8% 0.112 155.5)

  • #005C94

    #005C94

    oklch(45.9% 0.117 245.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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