#8C2E91

Closest named color: Warm Purple (#952E8F). oklch(48% 0.174 325.7), rgb(140, 46, 145).

Aa

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

About this color

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

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

Values

HEX#8C2E91
RGBrgb(140, 46, 145)
HSLhsl(297, 52%, 37%)
OKLCHoklch(48% 0.174 325.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 #8C2E91 7.20:1 AAA Lc -89.1 Fine for body text
Black text on #8C2E91 2.91:1 Fails Lc 19.9 Dividers and decoration only
#8C2E91 text on white 7.20:1 AAA Lc 84.1 Fine for body text
#8C2E91 text on black 2.91: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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E5F3

    oklch(93.7% 0.024 325.8)

  3. Step 200

    200

    #EACFEA

    oklch(88.5% 0.047 326)

  4. Step 300

    300

    #DDAEDE

    oklch(80.8% 0.084 325.7)

  5. Step 400

    400

    #CB81CE

    oklch(70.6% 0.136 325.5)

  6. Step 500

    500

    #BC5EC1

    oklch(63% 0.173 325.5)

  7. Step 600

    600

    #A841AD

    oklch(55.7% 0.187 325.8)

  8. Step 700

    700 (this color)

    #8C2E91

    oklch(48% 0.174 325.7)

  9. Step 800

    800

    #752B78

    oklch(42.8% 0.143 326.1)

  10. Step 900

    900

    #5E2861

    oklch(37.7% 0.112 325.5)

  11. Step 950

    950

    #371839

    oklch(26.9% 0.071 325)

Export this scale for Tailwind in the Tailwind colors tool

#8C2E91 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)#1B50940.180
Deuteranopia (no green cones)#425B8E0.154
Tritanopia (no blue cones)#8F3D5C0.099
Achromatopsia (no color)#5757570.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C2E91

    #8C2E91

    oklch(48% 0.174 325.7)

  • #007220

    #007220

    oklch(48% 0.148 145.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C2E91

    #8C2E91

    oklch(48% 0.174 325.7)

  • #693FB2

    #693FB2

    oklch(47.9% 0.174 296)

  • #A21F61

    #A21F61

    oklch(48% 0.174 355.8)

Open the analogous palette in the generator

Split complementary

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

  • #8C2E91

    #8C2E91

    oklch(48% 0.174 325.7)

  • #5B6400

    #5B6400

    oklch(47.9% 0.109 115.7)

  • #006E5B

    #006E5B

    oklch(48.1% 0.09 175.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C2E91

    #8C2E91

    oklch(48% 0.174 325.7)

  • #765900

    #765900

    oklch(48.1% 0.098 86.5)

  • #006A74

    #006A74

    oklch(47.9% 0.082 206.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C2E91

    #8C2E91

    oklch(48% 0.174 325.7)

  • #8E4800

    #8E4800

    oklch(48% 0.118 55.7)

  • #007220

    #007220

    oklch(48% 0.148 145.7)

  • #00658F

    #00658F

    oklch(47.9% 0.103 235.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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