#8B2A6B

Closest named color: Red Violet (#9E0168). oklch(45.4% 0.149 343.6), rgb(139, 42, 107).

Aa

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

About this color

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

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

Values

HEX#8B2A6B
RGBrgb(139, 42, 107)
HSLhsl(320, 54%, 35%)
OKLCHoklch(45.4% 0.149 343.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 #8B2A6B 7.95:1 AAA Lc -91.4 Preferred for body text
Black text on #8B2A6B 2.64:1 Fails Lc 17.3 Dividers and decoration only
#8B2A6B text on white 7.95:1 AAA Lc 86.7 Fine for body text
#8B2A6B text on black 2.64: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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E4EE

    oklch(93.7% 0.024 344.4)

  3. Step 200

    200

    #F1CDE1

    oklch(88.5% 0.048 343.6)

  4. Step 300

    300

    #E9AACF

    oklch(80.8% 0.088 343.2)

  5. Step 400

    400

    #DC7BB6

    oklch(70.7% 0.139 343.9)

  6. Step 500

    500

    #CF55A4

    oklch(63.1% 0.177 343.7)

  7. Step 600

    600

    #BA348F

    oklch(55.5% 0.193 343.6)

  8. Step 700

    700

    #A0247A

    oklch(49% 0.181 343.4)

  9. Step 800

    800 (this color)

    #8B2A6B

    oklch(45.4% 0.149 343.6)

  10. Step 900

    900

    #692251

    oklch(37.7% 0.116 343.5)

  11. Step 950

    950

    #3E152F

    oklch(27% 0.073 344.2)

Export this scale for Tailwind in the Tailwind colors tool

#8B2A6B 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)#33476D0.164
Deuteranopia (no green cones)#5057690.144
Tritanopia (no blue cones)#942A460.065
Achromatopsia (no color)#5151510.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B2A6B

    #8B2A6B

    oklch(45.4% 0.149 343.6)

  • #006747

    #006747

    oklch(45.5% 0.098 163.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B2A6B

    #8B2A6B

    oklch(45.4% 0.149 343.6)

  • #73368F

    #73368F

    oklch(45.4% 0.149 313.7)

  • #97253D

    #97253D

    oklch(45.4% 0.149 13.6)

Open the analogous palette in the generator

Split complementary

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

  • #8B2A6B

    #8B2A6B

    oklch(45.4% 0.149 343.6)

  • #366500

    #366500

    oklch(45.5% 0.13 133.7)

  • #006463

    #006463

    oklch(45.5% 0.078 193.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B2A6B

    #8B2A6B

    oklch(45.4% 0.149 343.6)

  • #605800

    #605800

    oklch(45.4% 0.096 103.4)

  • #006079

    #006079

    oklch(45.4% 0.085 223.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B2A6B

    #8B2A6B

    oklch(45.4% 0.149 343.6)

  • #764D00

    #764D00

    oklch(45.5% 0.096 74)

  • #006747

    #006747

    oklch(45.5% 0.098 163.4)

  • #0056A3

    #0056A3

    oklch(45.5% 0.143 253.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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