#8978ED

Closest named color: Medium Purple (#9370DB). oklch(64.3% 0.17 287.3), rgb(137, 120, 237).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.170)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.97:1
White text3.51:1

Values

HEX#8978ED
RGBrgb(137, 120, 237)
HSLhsl(249, 76%, 70%)
OKLCHoklch(64.3% 0.17 287.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 #8978ED 3.51:1 AA large text Lc -68.0 Content text, not long reading
Black text on #8978ED 5.97:1 AA Lc 41.6 Non-text elements, placeholder text
#8978ED text on white 3.51:1 AA large text Lc 62.5 Content text, not long reading
#8978ED text on black 5.97: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F7

    oklch(88.4% 0.047 286.8)

  4. Step 300

    300

    #BDB9F4

    oklch(81% 0.083 287.5)

  5. Step 400

    400

    #9C92EF

    oklch(70.7% 0.134 287.4)

  6. Step 500

    500 (this color)

    #8978ED

    oklch(64.3% 0.17 287.3)

  7. Step 600

    600

    #715AD7

    oklch(55.7% 0.184 287.3)

  8. Step 700

    700

    #5F49BB

    oklch(49.2% 0.172 287.2)

  9. Step 800

    800

    #4D3C97

    oklch(42.6% 0.143 287.3)

  10. Step 900

    900

    #403578

    oklch(37.8% 0.11 287.5)

  11. Step 950

    950

    #251F46

    oklch(26.9% 0.07 287.8)

Export this scale for Tailwind in the Tailwind colors tool

#8978ED 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)#478CF10.085
Deuteranopia (no green cones)#4686EA0.083
Tritanopia (no blue cones)#6B90A70.143
Achromatopsia (no color)#8989890.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #8978ED

    #8978ED

    oklch(64.3% 0.17 287.3)

  • #979200

    #979200

    oklch(64.3% 0.138 107.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8978ED

    #8978ED

    oklch(64.3% 0.17 287.3)

  • #428CF2

    #428CF2

    oklch(64.4% 0.17 257.2)

  • #B667D0

    #B667D0

    oklch(64.3% 0.17 317.2)

Open the analogous palette in the generator

Split complementary

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

  • #8978ED

    #8978ED

    oklch(64.3% 0.17 287.3)

  • #BA8000

    #BA8000

    oklch(64.2% 0.134 76.9)

  • #55A32E

    #55A32E

    oklch(64.2% 0.169 137.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8978ED

    #8978ED

    oklch(64.3% 0.17 287.3)

  • #DC6515

    #DC6515

    oklch(64.2% 0.169 47.4)

  • #00A67C

    #00A67C

    oklch(64.3% 0.132 167)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8978ED

    #8978ED

    oklch(64.3% 0.17 287.3)

  • #E15966

    #E15966

    oklch(64.3% 0.169 17.5)

  • #979200

    #979200

    oklch(64.3% 0.138 107.3)

  • #00A1A4

    #00A1A4

    oklch(64.3% 0.109 197.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8978ED.

Similar named colors

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

Use #8978ED 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.