#8978D5

Closest named color: Medium Purple (#9370DB). oklch(62.9% 0.137 290.3), rgb(137, 120, 213).

Aa

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

About this color

#8978D5 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.137 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.027 away. Black text reads best on it, at 5.71:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.71:1
White text3.67:1

Values

HEX#8978D5
RGBrgb(137, 120, 213)
HSLhsl(251, 53%, 65%)
OKLCHoklch(62.9% 0.137 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 #8978D5 3.67:1 AA large text Lc -69.7 Content text, not long reading
Black text on #8978D5 5.71:1 AA Lc 39.9 Non-text elements, placeholder text
#8978D5 text on white 3.67:1 AA large text Lc 64.2 Content text, not long reading
#8978D5 text on black 5.71:1 AA Lc -37.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

    #C0BAEA

    oklch(81% 0.067 290.5)

  5. Step 400

    400

    #A095DF

    oklch(70.8% 0.107 290.2)

  6. Step 500

    500 (this color)

    #8978D5

    oklch(62.9% 0.137 290.3)

  7. Step 600

    600

    #7460C3

    oklch(55.6% 0.149 290)

  8. Step 700

    700

    #624FA8

    oklch(49.2% 0.137 290.2)

  9. Step 800

    800

    #504188

    oklch(42.7% 0.114 290.5)

  10. Step 900

    900

    #42386D

    oklch(37.8% 0.088 290.2)

  11. Step 950

    950

    #262140

    oklch(27% 0.057 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#8978D5 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)#5987D80.068
Deuteranopia (no green cones)#5A83D30.065
Tritanopia (no blue cones)#768A9C0.115
Achromatopsia (no color)#8585850.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #8978D5

    #8978D5

    oklch(62.9% 0.137 290.3)

  • #8E8F01

    #8E8F01

    oklch(62.8% 0.137 110.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8978D5

    #8978D5

    oklch(62.9% 0.137 290.3)

  • #5687DB

    #5687DB

    oklch(62.8% 0.138 260.5)

  • #AD6BBB

    #AD6BBB

    oklch(62.9% 0.136 320.4)

Open the analogous palette in the generator

Split complementary

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

  • #8978D5

    #8978D5

    oklch(62.9% 0.137 290.3)

  • #B17E00

    #B17E00

    oklch(62.8% 0.13 80.1)

  • #579C49

    #579C49

    oklch(62.7% 0.137 140.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8978D5

    #8978D5

    oklch(62.9% 0.137 290.3)

  • #C96D31

    #C96D31

    oklch(63% 0.137 50.6)

  • #00A07E

    #00A07E

    oklch(62.8% 0.123 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8978D5

    #8978D5

    oklch(62.9% 0.137 290.3)

  • #CE6265

    #CE6265

    oklch(62.7% 0.137 20.1)

  • #8E8F01

    #8E8F01

    oklch(62.8% 0.137 110.3)

  • #009CA2

    #009CA2

    oklch(62.9% 0.107 199.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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