#8D3F9D

Closest named color: Warm Purple (#952E8F). oklch(50.9% 0.161 320.5), rgb(141, 63, 157).

Aa

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

About this color

#8D3F9D is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.161 and its hue 321°. 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.30:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.161)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.33:1
White text6.30:1

Values

HEX#8D3F9D
RGBrgb(141, 63, 157)
HSLhsl(290, 43%, 43%)
OKLCHoklch(50.9% 0.161 320.5)

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 #8D3F9D 6.30:1 AA Lc -86.0 Fine for body text
Black text on #8D3F9D 3.33:1 AA large text Lc 23.2 Dividers and decoration only
#8D3F9D text on white 6.30:1 AA Lc 80.8 Fine for body text
#8D3F9D text on black 3.33:1 AA large text Lc -21.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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E7D0EB

    oklch(88.5% 0.044 321.2)

  4. Step 300

    300

    #D8B1E0

    oklch(81% 0.077 320.5)

  5. Step 400

    400

    #C386D0

    oklch(70.7% 0.124 320.4)

  6. Step 500

    500

    #B365C4

    oklch(63.1% 0.159 320.2)

  7. Step 600

    600

    #9F49B0

    oklch(55.6% 0.174 320.8)

  8. Step 700

    700 (this color)

    #8D3F9D

    oklch(50.9% 0.161 320.5)

  9. Step 800

    800

    #6E317B

    oklch(42.7% 0.133 320.3)

  10. Step 900

    900

    #592C63

    oklch(37.7% 0.104 320.1)

  11. Step 950

    950

    #341A3A

    oklch(26.9% 0.066 319.9)

Export this scale for Tailwind in the Tailwind colors tool

#8D3F9D 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)#2B5AA00.155
Deuteranopia (no green cones)#47639B0.136
Tritanopia (no blue cones)#8E4D680.099
Achromatopsia (no color)#6060600.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D3F9D

    #8D3F9D

    oklch(50.9% 0.161 320.5)

  • #227A08

    #227A08

    oklch(50.8% 0.161 140.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D3F9D

    #8D3F9D

    oklch(50.9% 0.161 320.5)

  • #684FB9

    #684FB9

    oklch(50.9% 0.16 290.4)

  • #A53372

    #A53372

    oklch(50.9% 0.162 350.3)

Open the analogous palette in the generator

Split complementary

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

  • #8D3F9D

    #8D3F9D

    oklch(50.9% 0.161 320.5)

  • #696B00

    #696B00

    oklch(50.9% 0.112 111.1)

  • #00785D

    #00785D

    oklch(50.9% 0.101 170.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D3F9D

    #8D3F9D

    oklch(50.9% 0.161 320.5)

  • #845E00

    #845E00

    oklch(50.8% 0.105 81)

  • #00747A

    #00747A

    oklch(50.8% 0.086 201.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D3F9D

    #8D3F9D

    oklch(50.9% 0.161 320.5)

  • #9F4A00

    #9F4A00

    oklch(50.9% 0.133 50.9)

  • #227A08

    #227A08

    oklch(50.8% 0.161 140.5)

  • #006F95

    #006F95

    oklch(50.8% 0.102 230.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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