#8D31A3

Closest named color: Warm Purple (#952E8F). oklch(49.6% 0.187 319.2), rgb(141, 49, 163).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.187)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.10:1
White text6.77:1

Values

HEX#8D31A3
RGBrgb(141, 49, 163)
HSLhsl(288, 54%, 42%)
OKLCHoklch(49.6% 0.187 319.2)

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 #8D31A3 6.77:1 AA Lc -87.5 Fine for body text
Black text on #8D31A3 3.10:1 AA large text Lc 21.6 Dividers and decoration only
#8D31A3 text on white 6.77:1 AA Lc 82.5 Fine for body text
#8D31A3 text on black 3.10:1 AA large text Lc -19.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 700.

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFEF

    oklch(88.5% 0.051 318.8)

  4. Step 300

    300

    #DAAEE6

    oklch(80.8% 0.091 318.9)

  5. Step 400

    400

    #C781D9

    oklch(70.7% 0.145 319.2)

  6. Step 500

    500

    #B85DCE

    oklch(63.1% 0.185 319.5)

  7. Step 600

    600

    #A33FBB

    oklch(55.6% 0.2 319.3)

  8. Step 700

    700 (this color)

    #8D31A3

    oklch(49.6% 0.187 319.2)

  9. Step 800

    800

    #712983

    oklch(42.7% 0.155 319)

  10. Step 900

    900

    #5C2769

    oklch(37.7% 0.121 319.3)

  11. Step 950

    950

    #36183D

    oklch(27% 0.075 319.8)

Export this scale for Tailwind in the Tailwind colors tool

#8D31A3 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)#0055A60.186
Deuteranopia (no green cones)#395EA00.159
Tritanopia (no blue cones)#8D46660.116
Achromatopsia (no color)#5B5B5B0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D31A3

    #8D31A3

    oklch(49.6% 0.187 319.2)

  • #267500

    #267500

    oklch(49.4% 0.157 139.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D31A3

    #8D31A3

    oklch(49.6% 0.187 319.2)

  • #6445C3

    #6445C3

    oklch(49.7% 0.187 289.1)

  • #A81E72

    #A81E72

    oklch(49.6% 0.187 349.3)

Open the analogous palette in the generator

Split complementary

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

  • #8D31A3

    #8D31A3

    oklch(49.6% 0.187 319.2)

  • #676600

    #676600

    oklch(49.5% 0.107 109.1)

  • #007458

    #007458

    oklch(49.7% 0.1 168.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D31A3

    #8D31A3

    oklch(49.6% 0.187 319.2)

  • #815A00

    #815A00

    oklch(49.6% 0.103 79.3)

  • #007074

    #007074

    oklch(49.5% 0.084 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D31A3

    #8D31A3

    oklch(49.6% 0.187 319.2)

  • #9B4500

    #9B4500

    oklch(49.5% 0.133 49)

  • #267500

    #267500

    oklch(49.4% 0.157 139.2)

  • #006C8E

    #006C8E

    oklch(49.7% 0.098 228.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8D31A3.

Similar named colors

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

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