#8D7EDA

Closest named color: Medium Purple (#9370DB). oklch(64.6% 0.135 289.6), rgb(141, 126, 218).

Aa

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

About this color

#8D7EDA is a medium-light, moderately saturated purple. In OKLCH its lightness is 65%, its chroma 0.135 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.035 away. Black text reads best on it, at 6.12:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromamoderately saturated (0.135)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text6.12:1
White text3.42:1

Values

HEX#8D7EDA
RGBrgb(141, 126, 218)
HSLhsl(250, 55%, 67%)
OKLCHoklch(64.6% 0.135 289.6)

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 #8D7EDA 3.42:1 AA large text Lc -67.1 Content text, not long reading
Black text on #8D7EDA 6.12:1 AA Lc 42.4 Non-text elements, placeholder text
#8D7EDA text on white 3.42:1 AA large text Lc 61.7 Content text, not long reading
#8D7EDA text on black 6.12:1 AA Lc -40.0 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D8D6F0

    oklch(88.6% 0.036 289.2)

  4. Step 300

    300

    #BFBAE9

    oklch(80.9% 0.066 289.7)

  5. Step 400

    400

    #9F95DE

    oklch(70.6% 0.106 289.7)

  6. Step 500

    500 (this color)

    #8D7EDA

    oklch(64.6% 0.135 289.6)

  7. Step 600

    600

    #7361C2

    oklch(55.6% 0.146 289.3)

  8. Step 700

    700

    #614FA8

    oklch(49.1% 0.137 289.7)

  9. Step 800

    800

    #4F4188

    oklch(42.6% 0.114 289.8)

  10. Step 900

    900

    #41386D

    oklch(37.7% 0.088 289.2)

  11. Step 950

    950

    #262140

    oklch(27% 0.057 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#8D7EDA 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)#608CDD0.064
Deuteranopia (no green cones)#6088D80.062
Tritanopia (no blue cones)#7A90A10.114
Achromatopsia (no color)#8B8B8B0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D7EDA

    #8D7EDA

    oklch(64.6% 0.135 289.6)

  • #949416

    #949416

    oklch(64.6% 0.135 109.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D7EDA

    #8D7EDA

    oklch(64.6% 0.135 289.6)

  • #5B8DDF

    #5B8DDF

    oklch(64.5% 0.135 259.8)

  • #B171C1

    #B171C1

    oklch(64.6% 0.135 319.4)

Open the analogous palette in the generator

Split complementary

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

  • #8D7EDA

    #8D7EDA

    oklch(64.6% 0.135 289.6)

  • #B98300

    #B98300

    oklch(64.7% 0.134 79.5)

  • #5FA14E

    #5FA14E

    oklch(64.5% 0.135 139.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D7EDA

    #8D7EDA

    oklch(64.6% 0.135 289.6)

  • #CE723B

    #CE723B

    oklch(64.6% 0.135 49.3)

  • #00A681

    #00A681

    oklch(64.5% 0.128 169.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D7EDA

    #8D7EDA

    oklch(64.6% 0.135 289.6)

  • #D3686C

    #D3686C

    oklch(64.5% 0.135 19.3)

  • #949416

    #949416

    oklch(64.6% 0.135 109.6)

  • #00A2A8

    #00A2A8

    oklch(64.7% 0.11 199.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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