#7978D2

Closest named color: Medium Purple (#9370DB). oklch(61.4% 0.134 282.2), rgb(121, 120, 210).

Aa

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

About this color

#7978D2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.134 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.046 away. Black text reads best on it, at 5.43:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.134)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.43:1
White text3.86:1

Values

HEX#7978D2
RGBrgb(121, 120, 210)
HSLhsl(241, 50%, 65%)
OKLCHoklch(61.4% 0.134 282.2)

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 #7978D2 3.86:1 AA large text Lc -71.5 Content text, not long reading
Black text on #7978D2 5.43:1 AA Lc 38.1 Non-text elements, placeholder text
#7978D2 text on white 3.86:1 AA large text Lc 66.0 Content text, not long reading
#7978D2 text on black 5.43:1 AA Lc -35.6 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F7

    oklch(93.7% 0.019 279.5)

  3. Step 200

    200

    #D5D7F1

    oklch(88.6% 0.036 282.1)

  4. Step 300

    300

    #B9BCEB

    oklch(80.9% 0.066 281.9)

  5. Step 400

    400

    #9698E0

    oklch(70.6% 0.105 282.1)

  6. Step 500

    500 (this color)

    #7978D2

    oklch(61.4% 0.134 282.2)

  7. Step 600

    600

    #6865C5

    oklch(55.7% 0.145 282)

  8. Step 700

    700

    #5753AA

    oklch(49.1% 0.135 282.3)

  9. Step 800

    800

    #47448A

    oklch(42.6% 0.113 282.4)

  10. Step 900

    900

    #3B3A6E

    oklch(37.6% 0.087 282.2)

  11. Step 950

    950

    #222241

    oklch(26.9% 0.057 281.9)

Export this scale for Tailwind in the Tailwind colors tool

#7978D2 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)#5785D50.050
Deuteranopia (no green cones)#527ED00.050
Tritanopia (no blue cones)#5D8A9B0.116
Achromatopsia (no color)#8282820.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #7978D2

    #7978D2

    oklch(61.4% 0.134 282.2)

  • #948600

    #948600

    oklch(61.3% 0.128 102.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7978D2

    #7978D2

    oklch(61.4% 0.134 282.2)

  • #4187D2

    #4187D2

    oklch(61.4% 0.134 252.2)

  • #9F6ABE

    #9F6ABE

    oklch(61.3% 0.135 312)

Open the analogous palette in the generator

Split complementary

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

  • #7978D2

    #7978D2

    oklch(61.4% 0.134 282.2)

  • #B47500

    #B47500

    oklch(61.4% 0.131 72)

  • #659538

    #659538

    oklch(61.5% 0.134 132.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7978D2

    #7978D2

    oklch(61.4% 0.134 282.2)

  • #C6653E

    #C6653E

    oklch(61.4% 0.135 41.8)

  • #019D6B

    #019D6B

    oklch(61.5% 0.135 161.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7978D2

    #7978D2

    oklch(61.4% 0.134 282.2)

  • #C75E6E

    #C75E6E

    oklch(61.4% 0.134 12.4)

  • #948600

    #948600

    oklch(61.3% 0.128 102.1)

  • #009895

    #009895

    oklch(61.4% 0.105 192.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7978D2 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.