#7E78BB

Closest named color: Deep Lilac (#966EBD). oklch(60.6% 0.101 287.1), rgb(126, 120, 187).

Aa

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

About this color

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

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

Values

HEX#7E78BB
RGBrgb(126, 120, 187)
HSLhsl(245, 33%, 60%)
OKLCHoklch(60.6% 0.101 287.1)

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 #7E78BB 3.96:1 AA large text Lc -72.5 Content text, not long reading
Black text on #7E78BB 5.29:1 AA Lc 37.1 Non-text elements, placeholder text
#7E78BB text on white 3.96:1 AA large text Lc 67.0 Content text, not long reading
#7E78BB text on black 5.29:1 AA Lc -34.7 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E9F3

    oklch(93.7% 0.013 286.1)

  3. Step 200

    200

    #D7D7EB

    oklch(88.5% 0.027 285.8)

  4. Step 300

    300

    #BEBCE0

    oklch(80.9% 0.05 287.8)

  5. Step 400

    400

    #9D99D0

    oklch(70.6% 0.08 287.5)

  6. Step 500

    500 (this color)

    #7E78BB

    oklch(60.6% 0.101 287.1)

  7. Step 600

    600

    #7068B0

    oklch(55.6% 0.11 287.4)

  8. Step 700

    700

    #5D5697

    oklch(49% 0.102 286.9)

  9. Step 800

    800

    #4C477A

    oklch(42.7% 0.083 286.8)

  10. Step 900

    900

    #3F3C63

    oklch(37.7% 0.066 286.3)

  11. Step 950

    950

    #25233A

    oklch(27% 0.042 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E78BB 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)#6481BE0.040
Deuteranopia (no green cones)#637EB90.039
Tritanopia (no blue cones)#6F84910.085
Achromatopsia (no color)#8080800.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E78BB

    #7E78BB

    oklch(60.6% 0.101 287.1)

  • #898637

    #898637

    oklch(60.6% 0.101 107)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E78BB

    #7E78BB

    oklch(60.6% 0.101 287.1)

  • #5A83BE

    #5A83BE

    oklch(60.5% 0.101 257.5)

  • #9A6EAA

    #9A6EAA

    oklch(60.5% 0.101 316.8)

Open the analogous palette in the generator

Split complementary

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

  • #7E78BB

    #7E78BB

    oklch(60.6% 0.101 287.1)

  • #A37934

    #A37934

    oklch(60.4% 0.1 77.1)

  • #649053

    #649053

    oklch(60.6% 0.101 137.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E78BB

    #7E78BB

    oklch(60.6% 0.101 287.1)

  • #B36E4B

    #B36E4B

    oklch(60.6% 0.101 47.1)

  • #389575

    #389575

    oklch(60.6% 0.101 167)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E78BB

    #7E78BB

    oklch(60.6% 0.101 287.1)

  • #B6686C

    #B6686C

    oklch(60.6% 0.1 17.2)

  • #898637

    #898637

    oklch(60.6% 0.101 107)

  • #109497

    #109497

    oklch(60.6% 0.101 197.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7E78BB 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.