#7978AA

Closest named color: Lavender Gray (#7E7F9A). oklch(59.3% 0.076 284.8), rgb(121, 120, 170).

Aa

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

About this color

#7978AA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.076 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.037 away. Black text reads best on it, at 5.08:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.08:1
White text4.13:1

Values

HEX#7978AA
RGBrgb(121, 120, 170)
HSLhsl(241, 23%, 57%)
OKLCHoklch(59.3% 0.076 284.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 #7978AA 4.13:1 AA large text Lc -73.9 Content text, not long reading
Black text on #7978AA 5.08:1 AA Lc 35.7 Non-text elements, placeholder text
#7978AA text on white 4.13:1 AA large text Lc 68.4 Content text, not long reading
#7978AA text on black 5.08:1 AA Lc -33.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 600.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D7D8E6

    oklch(88.6% 0.019 282.7)

  4. Step 300

    300

    #BEBED6

    oklch(80.9% 0.034 285.6)

  5. Step 400

    400

    #9C9CC2

    oklch(70.6% 0.055 284.9)

  6. Step 500

    500

    #8484B3

    oklch(63.1% 0.07 284.2)

  7. Step 600

    600 (this color)

    #7978AA

    oklch(59.3% 0.076 284.8)

  8. Step 700

    700

    #5C5B87

    oklch(49.1% 0.07 284.6)

  9. Step 800

    800

    #4B4A6E

    oklch(42.6% 0.059 284.9)

  10. Step 900

    900

    #3F3E59

    oklch(37.7% 0.046 285.7)

  11. Step 950

    950

    #252534

    oklch(27.1% 0.028 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#7978AA 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)#6A7EAC0.025
Deuteranopia (no green cones)#697BA90.023
Tritanopia (no blue cones)#6D818A0.066
Achromatopsia (no color)#7D7D7D0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #7978AA

    #7978AA

    oklch(59.3% 0.076 284.8)

  • #85814A

    #85814A

    oklch(59.4% 0.076 104.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7978AA

    #7978AA

    oklch(59.3% 0.076 284.8)

  • #5F80AB

    #5F80AB

    oklch(59.2% 0.076 255.3)

  • #8F719E

    #8F719E

    oklch(59.4% 0.075 314.2)

Open the analogous palette in the generator

Split complementary

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

  • #7978AA

    #7978AA

    oklch(59.3% 0.076 284.8)

  • #997849

    #997849

    oklch(59.4% 0.076 75.2)

  • #6B895A

    #6B895A

    oklch(59.4% 0.077 134.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7978AA

    #7978AA

    oklch(59.3% 0.076 284.8)

  • #A47058

    #A47058

    oklch(59.3% 0.075 45.6)

  • #508D73

    #508D73

    oklch(59.4% 0.076 164.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7978AA

    #7978AA

    oklch(59.3% 0.076 284.8)

  • #A66B70

    #A66B70

    oklch(59.2% 0.076 14.1)

  • #85814A

    #85814A

    oklch(59.4% 0.076 104.8)

  • #3F8C8C

    #3F8C8C

    oklch(59.2% 0.076 195.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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