#7978C8

Closest named color: Deep Lilac (#966EBD). oklch(60.8% 0.12 282.8), rgb(121, 120, 200).

Aa

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

About this color

#7978C8 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.120 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.050 away. Black text reads best on it, at 5.33:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text5.33:1
White text3.93:1

Values

HEX#7978C8
RGBrgb(121, 120, 200)
HSLhsl(241, 42%, 63%)
OKLCHoklch(60.8% 0.12 282.8)

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 #7978C8 3.93:1 AA large text Lc -72.2 Content text, not long reading
Black text on #7978C8 5.33:1 AA Lc 37.4 Non-text elements, placeholder text
#7978C8 text on white 3.93:1 AA large text Lc 66.7 Content text, not long reading
#7978C8 text on black 5.33:1 AA Lc -35.0 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

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D5D7EF

    oklch(88.5% 0.033 281.9)

  4. Step 300

    300

    #BABCE6

    oklch(80.8% 0.059 282.8)

  5. Step 400

    400

    #9899DA

    oklch(70.7% 0.094 283)

  6. Step 500

    500 (this color)

    #7978C8

    oklch(60.8% 0.12 282.8)

  7. Step 600

    600

    #6A67BC

    oklch(55.6% 0.129 282.9)

  8. Step 700

    700

    #5855A3

    oklch(49.1% 0.122 282.7)

  9. Step 800

    800

    #484684

    oklch(42.7% 0.101 282.7)

  10. Step 900

    900

    #3C3B6A

    oklch(37.7% 0.079 282.9)

  11. Step 950

    950

    #23233E

    oklch(27% 0.05 282.6)

Export this scale for Tailwind in the Tailwind colors tool

#7978C8 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)#5D83CB0.043
Deuteranopia (no green cones)#597EC60.043
Tritanopia (no blue cones)#6288960.105
Achromatopsia (no color)#8080800.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #7978C8

    #7978C8

    oklch(60.8% 0.12 282.8)

  • #90851A

    #90851A

    oklch(60.8% 0.12 103.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7978C8

    #7978C8

    oklch(60.8% 0.12 282.8)

  • #4A85C8

    #4A85C8

    oklch(60.7% 0.12 253)

  • #9B6CB6

    #9B6CB6

    oklch(60.8% 0.12 312.4)

Open the analogous palette in the generator

Split complementary

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

  • #7978C8

    #7978C8

    oklch(60.8% 0.12 282.8)

  • #AE761D

    #AE761D

    oklch(60.9% 0.12 73)

  • #669242

    #669242

    oklch(60.9% 0.12 132.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7978C8

    #7978C8

    oklch(60.8% 0.12 282.8)

  • #BD6845

    #BD6845

    oklch(60.7% 0.119 42.6)

  • #26996D

    #26996D

    oklch(60.9% 0.121 162.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7978C8

    #7978C8

    oklch(60.8% 0.12 282.8)

  • #BF626E

    #BF626E

    oklch(60.9% 0.119 13.1)

  • #90851A

    #90851A

    oklch(60.8% 0.12 103.1)

  • #009694

    #009694

    oklch(60.9% 0.104 193.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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