#8B2C97

Closest named color: Warm Purple (#952E8F). oklch(48% 0.181 323), rgb(139, 44, 151).

Aa

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

About this color

#8B2C97 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.181 and its hue 323°. 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.22:1.

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

Values

HEX#8B2C97
RGBrgb(139, 44, 151)
HSLhsl(293, 55%, 38%)
OKLCHoklch(48% 0.181 323)

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 #8B2C97 7.22:1 AAA Lc -89.1 Fine for body text
Black text on #8B2C97 2.90:1 Fails Lc 19.9 Dividers and decoration only
#8B2C97 text on white 7.22:1 AAA Lc 84.2 Fine for body text
#8B2C97 text on black 2.90:1 Fails Lc -17.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 700.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F3E5F4

    oklch(93.7% 0.025 323.8)

  3. Step 200

    200

    #E9CFEC

    oklch(88.5% 0.048 322.7)

  4. Step 300

    300

    #DDAEE2

    oklch(81% 0.088 323.2)

  5. Step 400

    400

    #CA81D3

    oklch(70.7% 0.14 323)

  6. Step 500

    500

    #BB5DC7

    oklch(63.1% 0.179 323)

  7. Step 600

    600

    #A63FB3

    oklch(55.5% 0.194 323.1)

  8. Step 700

    700 (this color)

    #8B2C97

    oklch(48% 0.181 323)

  9. Step 800

    800

    #74297D

    oklch(42.7% 0.15 323.3)

  10. Step 900

    900

    #5E2765

    oklch(37.7% 0.118 323)

  11. Step 950

    950

    #37183B

    oklch(27% 0.074 322.9)

Export this scale for Tailwind in the Tailwind colors tool

#8B2C97 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)#08509A0.188
Deuteranopia (no green cones)#3D5B940.159
Tritanopia (no blue cones)#8D3E5E0.108
Achromatopsia (no color)#5757570.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B2C97

    #8B2C97

    oklch(48% 0.181 323)

  • #007308

    #007308

    oklch(48.2% 0.161 143)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B2C97

    #8B2C97

    oklch(48% 0.181 323)

  • #663FB8

    #663FB8

    oklch(48.1% 0.181 293.2)

  • #A31A66

    #A31A66

    oklch(48% 0.181 353.2)

Open the analogous palette in the generator

Split complementary

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

  • #8B2C97

    #8B2C97

    oklch(48% 0.181 323)

  • #5F6300

    #5F6300

    oklch(48% 0.107 112.5)

  • #006E59

    #006E59

    oklch(48% 0.092 173.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B2C97

    #8B2C97

    oklch(48% 0.181 323)

  • #785700

    #785700

    oklch(47.9% 0.098 82.9)

  • #006B72

    #006B72

    oklch(48.1% 0.082 202.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B2C97

    #8B2C97

    oklch(48% 0.181 323)

  • #914600

    #914600

    oklch(48.1% 0.122 53)

  • #007308

    #007308

    oklch(48.2% 0.161 143)

  • #00668C

    #00668C

    oklch(48% 0.099 232.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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