#8D78EA

Closest named color: Medium Purple (#9370DB). oklch(64.4% 0.165 289.4), rgb(141, 120, 234).

Aa

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

About this color

#8D78EA is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.165 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.028 away. Black text reads best on it, at 6.00:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.165)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text6.00:1
White text3.49:1

Values

HEX#8D78EA
RGBrgb(141, 120, 234)
HSLhsl(251, 73%, 69%)
OKLCHoklch(64.4% 0.165 289.4)

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 #8D78EA 3.49:1 AA large text Lc -67.8 Content text, not long reading
Black text on #8D78EA 6.00:1 AA Lc 41.8 Non-text elements, placeholder text
#8D78EA text on white 3.49:1 AA large text Lc 62.3 Content text, not long reading
#8D78EA text on black 6.00: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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D8D5F6

    oklch(88.6% 0.045 289.6)

  4. Step 300

    300

    #BFB8F2

    oklch(80.8% 0.081 290)

  5. Step 400

    400

    #9F92EC

    oklch(70.8% 0.13 289.3)

  6. Step 500

    500 (this color)

    #8D78EA

    oklch(64.4% 0.165 289.4)

  7. Step 600

    600

    #7459D3

    oklch(55.5% 0.18 289.4)

  8. Step 700

    700

    #6248B7

    oklch(49% 0.168 289.5)

  9. Step 800

    800

    #503C94

    oklch(42.7% 0.139 289.7)

  10. Step 900

    900

    #423576

    oklch(37.8% 0.107 289.5)

  11. Step 950

    950

    #261F45

    oklch(26.9% 0.069 289.4)

Export this scale for Tailwind in the Tailwind colors tool

#8D78EA 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)#4B8BEE0.086
Deuteranopia (no green cones)#4C86E70.084
Tritanopia (no blue cones)#738FA60.137
Achromatopsia (no color)#8989890.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D78EA

    #8D78EA

    oklch(64.4% 0.165 289.4)

  • #949300

    #949300

    oklch(64.3% 0.14 109.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D78EA

    #8D78EA

    oklch(64.4% 0.165 289.4)

  • #4C8BF0

    #4C8BF0

    oklch(64.4% 0.165 259.4)

  • #B868CC

    #B868CC

    oklch(64.5% 0.165 319.3)

Open the analogous palette in the generator

Split complementary

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

  • #8D78EA

    #8D78EA

    oklch(64.4% 0.165 289.4)

  • #B88200

    #B88200

    oklch(64.4% 0.134 79.3)

  • #51A439

    #51A439

    oklch(64.4% 0.165 139.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D78EA

    #8D78EA

    oklch(64.4% 0.165 289.4)

  • #DA6814

    #DA6814

    oklch(64.4% 0.165 49.3)

  • #00A680

    #00A680

    oklch(64.5% 0.129 169.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D78EA

    #8D78EA

    oklch(64.4% 0.165 289.4)

  • #E05B64

    #E05B64

    oklch(64.4% 0.166 19)

  • #949300

    #949300

    oklch(64.3% 0.14 109.3)

  • #00A1A7

    #00A1A7

    oklch(64.4% 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 #8D78EA, closest first.

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

Similar named colors

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

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