#8978D3

Closest named color: Medium Purple (#9370DB). oklch(62.8% 0.134 290.6), rgb(137, 120, 211).

Aa

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

About this color

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

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

Values

HEX#8978D3
RGBrgb(137, 120, 211)
HSLhsl(251, 51%, 65%)
OKLCHoklch(62.8% 0.134 290.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 #8978D3 3.69:1 AA large text Lc -69.9 Content text, not long reading
Black text on #8978D3 5.69:1 AA Lc 39.7 Non-text elements, placeholder text
#8978D3 text on white 3.69:1 AA large text Lc 64.4 Content text, not long reading
#8978D3 text on black 5.69:1 AA Lc -37.3 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

    #D8D5F0

    oklch(88.4% 0.037 290.7)

  4. Step 300

    300

    #C0BAE9

    oklch(81% 0.066 290.7)

  5. Step 400

    400

    #A095DE

    oklch(70.7% 0.106 290.3)

  6. Step 500

    500 (this color)

    #8978D3

    oklch(62.8% 0.134 290.6)

  7. Step 600

    600

    #7560C1

    oklch(55.6% 0.146 290.8)

  8. Step 700

    700

    #624FA7

    oklch(49.1% 0.136 290.4)

  9. Step 800

    800

    #504187

    oklch(42.7% 0.113 290.7)

  10. Step 900

    900

    #42386C

    oklch(37.7% 0.087 290.5)

  11. Step 950

    950

    #27213F

    oklch(27% 0.055 291.5)

Export this scale for Tailwind in the Tailwind colors tool

#8978D3 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)#5A87D60.068
Deuteranopia (no green cones)#5B83D10.064
Tritanopia (no blue cones)#77899B0.112
Achromatopsia (no color)#8585850.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #8978D3

    #8978D3

    oklch(62.8% 0.134 290.6)

  • #8D8F0D

    #8D8F0D

    oklch(62.8% 0.135 110.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8978D3

    #8978D3

    oklch(62.8% 0.134 290.6)

  • #5887D9

    #5887D9

    oklch(62.8% 0.135 260.8)

  • #AC6BBA

    #AC6BBA

    oklch(62.7% 0.135 320.3)

Open the analogous palette in the generator

Split complementary

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

  • #8978D3

    #8978D3

    oklch(62.8% 0.134 290.6)

  • #B07E00

    #B07E00

    oklch(62.7% 0.13 80.6)

  • #589C4B

    #589C4B

    oklch(62.8% 0.134 140.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8978D3

    #8978D3

    oklch(62.8% 0.134 290.6)

  • #C76D33

    #C76D33

    oklch(62.7% 0.134 50.6)

  • #00A07E

    #00A07E

    oklch(62.8% 0.123 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8978D3

    #8978D3

    oklch(62.8% 0.134 290.6)

  • #CD6365

    #CD6365

    oklch(62.7% 0.135 20.6)

  • #8D8F0D

    #8D8F0D

    oklch(62.8% 0.135 110.7)

  • #009BA2

    #009BA2

    oklch(62.7% 0.107 200.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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