#8C2F91

Closest named color: Warm Purple (#952E8F). oklch(48.1% 0.173 325.7), rgb(140, 47, 145).

Aa

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

About this color

#8C2F91 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.173 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.16:1.

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

Values

HEX#8C2F91
RGBrgb(140, 47, 145)
HSLhsl(297, 51%, 38%)
OKLCHoklch(48.1% 0.173 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 #8C2F91 7.16:1 AAA Lc -89.0 Fine for body text
Black text on #8C2F91 2.93:1 Fails Lc 20.0 Dividers and decoration only
#8C2F91 text on white 7.16:1 AAA Lc 84.0 Fine for body text
#8C2F91 text on black 2.93:1 Fails Lc -18.0 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

    #CB82CD

    oklch(70.8% 0.133 325.9)

  6. Step 500

    500

    #BC5FC0

    oklch(63.1% 0.17 325.8)

  7. Step 600

    600

    #A742AC

    oklch(55.6% 0.184 325.8)

  8. Step 700

    700 (this color)

    #8C2F91

    oklch(48.1% 0.173 325.7)

  9. Step 800

    800

    #742B78

    oklch(42.6% 0.143 325.6)

  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

#8C2F91 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)#1C50940.179
Deuteranopia (no green cones)#435C8E0.153
Tritanopia (no blue cones)#8F3E5C0.099
Achromatopsia (no color)#5858580.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C2F91

    #8C2F91

    oklch(48.1% 0.173 325.7)

  • #007220

    #007220

    oklch(48% 0.148 145.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C2F91

    #8C2F91

    oklch(48.1% 0.173 325.7)

  • #6940B2

    #6940B2

    oklch(48.1% 0.173 295.8)

  • #A22161

    #A22161

    oklch(48.1% 0.172 356)

Open the analogous palette in the generator

Split complementary

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

  • #8C2F91

    #8C2F91

    oklch(48.1% 0.173 325.7)

  • #5C6500

    #5C6500

    oklch(48.2% 0.11 115.7)

  • #006E5C

    #006E5C

    oklch(48.1% 0.09 176.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C2F91

    #8C2F91

    oklch(48.1% 0.173 325.7)

  • #775900

    #775900

    oklch(48.2% 0.099 85.7)

  • #006B74

    #006B74

    oklch(48.2% 0.082 205)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C2F91

    #8C2F91

    oklch(48.1% 0.173 325.7)

  • #8F4800

    #8F4800

    oklch(48.1% 0.119 55.3)

  • #007220

    #007220

    oklch(48% 0.148 145.7)

  • #006690

    #006690

    oklch(48.2% 0.103 235.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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