#8D7CDA

Closest named color: Medium Purple (#9370DB). oklch(64.2% 0.138 290.3), rgb(141, 124, 218).

Aa

Black text reads best on this color (6.02:1).

About this color

#8D7CDA is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.138 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.030 away. Black text reads best on it, at 6.02:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.02:1
White text3.48:1

Values

HEX#8D7CDA
RGBrgb(141, 124, 218)
HSLhsl(251, 56%, 67%)
OKLCHoklch(64.2% 0.138 290.3)

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 #8D7CDA 3.48:1 AA large text Lc -67.7 Content text, not long reading
Black text on #8D7CDA 6.02:1 AA Lc 41.8 Non-text elements, placeholder text
#8D7CDA text on white 3.48:1 AA large text Lc 62.3 Content text, not long reading
#8D7CDA text on black 6.02:1 AA Lc -39.4 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D8D5F1

    oklch(88.4% 0.038 290.5)

  4. Step 300

    300

    #BFBAEA

    oklch(80.9% 0.067 289.6)

  5. Step 400

    400

    #A095DF

    oklch(70.8% 0.107 290.2)

  6. Step 500

    500 (this color)

    #8D7CDA

    oklch(64.2% 0.138 290.3)

  7. Step 600

    600

    #7460C3

    oklch(55.6% 0.149 290)

  8. Step 700

    700

    #624EA9

    oklch(49% 0.14 290.4)

  9. Step 800

    800

    #504189

    oklch(42.8% 0.115 290.2)

  10. Step 900

    900

    #42376D

    oklch(37.6% 0.09 290.8)

  11. Step 950

    950

    #262140

    oklch(27% 0.057 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#8D7CDA 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)#5D8BDE0.068
Deuteranopia (no green cones)#5E87D80.065
Tritanopia (no blue cones)#7A8EA00.116
Achromatopsia (no color)#8989890.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D7CDA

    #8D7CDA

    oklch(64.2% 0.138 290.3)

  • #92930B

    #92930B

    oklch(64.1% 0.138 110.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D7CDA

    #8D7CDA

    oklch(64.2% 0.138 290.3)

  • #5A8CE0

    #5A8CE0

    oklch(64.3% 0.138 260.2)

  • #B26FC0

    #B26FC0

    oklch(64.3% 0.137 320.5)

Open the analogous palette in the generator

Split complementary

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

  • #8D7CDA

    #8D7CDA

    oklch(64.2% 0.138 290.3)

  • #B68200

    #B68200

    oklch(64.2% 0.133 80.3)

  • #5BA14D

    #5BA14D

    oklch(64.3% 0.138 140.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D7CDA

    #8D7CDA

    oklch(64.2% 0.138 290.3)

  • #CE7035

    #CE7035

    oklch(64.2% 0.139 50)

  • #00A581

    #00A581

    oklch(64.2% 0.127 170.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D7CDA

    #8D7CDA

    oklch(64.2% 0.138 290.3)

  • #D36669

    #D36669

    oklch(64.1% 0.138 20)

  • #92930B

    #92930B

    oklch(64.1% 0.138 110.2)

  • #00A0A7

    #00A0A7

    oklch(64.2% 0.109 200.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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