#8E7BDA

Closest named color: Medium Purple (#9370DB). oklch(64.1% 0.14 291.1), rgb(142, 123, 218).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.99:1
White text3.50:1

Values

HEX#8E7BDA
RGBrgb(142, 123, 218)
HSLhsl(252, 56%, 67%)
OKLCHoklch(64.1% 0.14 291.1)

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 #8E7BDA 3.50:1 AA large text Lc -67.9 Content text, not long reading
Black text on #8E7BDA 5.99:1 AA Lc 41.6 Non-text elements, placeholder text
#8E7BDA text on white 3.50:1 AA large text Lc 62.5 Content text, not long reading
#8E7BDA text on black 5.99:1 AA Lc -39.2 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

    #D9D5F1

    oklch(88.5% 0.038 292.2)

  4. Step 300

    300

    #C0B9EA

    oklch(80.8% 0.069 291.3)

  5. Step 400

    400

    #A194E0

    oklch(70.7% 0.11 291.2)

  6. Step 500

    500 (this color)

    #8E7BDA

    oklch(64.1% 0.14 291.1)

  7. Step 600

    600

    #765FC4

    oklch(55.7% 0.152 291.2)

  8. Step 700

    700

    #634EA9

    oklch(49.1% 0.14 291)

  9. Step 800

    800

    #514089

    oklch(42.7% 0.117 291.4)

  10. Step 900

    900

    #43376E

    oklch(37.8% 0.092 291.4)

  11. Step 950

    950

    #272140

    oklch(27.1% 0.057 291)

Export this scale for Tailwind in the Tailwind colors tool

#8E7BDA 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)#5C8BDE0.071
Deuteranopia (no green cones)#5D87D80.068
Tritanopia (no blue cones)#7B8DA00.115
Achromatopsia (no color)#8989890.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E7BDA

    #8E7BDA

    oklch(64.1% 0.14 291.1)

  • #919407

    #919407

    oklch(64.3% 0.14 111.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E7BDA

    #8E7BDA

    oklch(64.1% 0.14 291.1)

  • #5B8BE1

    #5B8BE1

    oklch(64.2% 0.14 261.3)

  • #B36EBF

    #B36EBF

    oklch(64.2% 0.139 321.5)

Open the analogous palette in the generator

Split complementary

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

  • #8E7BDA

    #8E7BDA

    oklch(64.1% 0.14 291.1)

  • #B58200

    #B58200

    oklch(64% 0.132 80.9)

  • #58A14D

    #58A14D

    oklch(64.1% 0.14 141.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E7BDA

    #8E7BDA

    oklch(64.1% 0.14 291.1)

  • #CE7032

    #CE7032

    oklch(64.2% 0.14 50.8)

  • #00A582

    #00A582

    oklch(64.2% 0.126 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E7BDA

    #8E7BDA

    oklch(64.1% 0.14 291.1)

  • #D46667

    #D46667

    oklch(64.2% 0.139 21.2)

  • #919407

    #919407

    oklch(64.3% 0.14 111.2)

  • #00A0A8

    #00A0A8

    oklch(64.2% 0.109 201.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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