#7A78BC

Closest named color: Deep Lilac (#966EBD). oklch(60.3% 0.102 284.2), rgb(122, 120, 188).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text5.24:1
White text4.00:1

Values

HEX#7A78BC
RGBrgb(122, 120, 188)
HSLhsl(242, 34%, 60%)
OKLCHoklch(60.3% 0.102 284.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 #7A78BC 4.00:1 AA large text Lc -72.8 Content text, not long reading
Black text on #7A78BC 5.24:1 AA Lc 36.8 Non-text elements, placeholder text
#7A78BC text on white 4.00:1 AA large text Lc 67.3 Content text, not long reading
#7A78BC text on black 5.24:1 AA Lc -34.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D7EB

    oklch(88.4% 0.027 283.5)

  4. Step 300

    300

    #BCBDE1

    oklch(80.9% 0.051 284)

  5. Step 400

    400

    #9A9AD1

    oklch(70.6% 0.08 284.2)

  6. Step 500

    500 (this color)

    #7A78BC

    oklch(60.3% 0.102 284.2)

  7. Step 600

    600

    #6C69B2

    oklch(55.6% 0.112 284)

  8. Step 700

    700

    #5A5799

    oklch(49% 0.104 283.9)

  9. Step 800

    800

    #4A477C

    oklch(42.6% 0.086 284.7)

  10. Step 900

    900

    #3E3C64

    oklch(37.7% 0.068 285)

  11. Step 950

    950

    #24233A

    oklch(26.9% 0.042 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#7A78BC 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)#6381BF0.036
Deuteranopia (no green cones)#617DBA0.035
Tritanopia (no blue cones)#6985910.089
Achromatopsia (no color)#7F7F7F0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A78BC

    #7A78BC

    oklch(60.3% 0.102 284.2)

  • #8B8433

    #8B8433

    oklch(60.3% 0.102 104.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A78BC

    #7A78BC

    oklch(60.3% 0.102 284.2)

  • #5483BD

    #5483BD

    oklch(60.2% 0.103 254.4)

  • #976EAC

    #976EAC

    oklch(60.3% 0.102 313.7)

Open the analogous palette in the generator

Split complementary

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

  • #7A78BC

    #7A78BC

    oklch(60.3% 0.102 284.2)

  • #A57733

    #A57733

    oklch(60.3% 0.102 74.1)

  • #678E4E

    #678E4E

    oklch(60.2% 0.101 134.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A78BC

    #7A78BC

    oklch(60.3% 0.102 284.2)

  • #B46C4C

    #B46C4C

    oklch(60.3% 0.103 44.3)

  • #3A9471

    #3A9471

    oklch(60.3% 0.102 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A78BC

    #7A78BC

    oklch(60.3% 0.102 284.2)

  • #B6666E

    #B6666E

    oklch(60.3% 0.103 14.2)

  • #8B8433

    #8B8433

    oklch(60.3% 0.102 104.4)

  • #049493

    #049493

    oklch(60.3% 0.103 193.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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