#7C78CC

Closest named color: Medium Purple (#9370DB). oklch(61.3% 0.125 284.2), rgb(124, 120, 204).

Aa

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

About this color

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

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

Values

HEX#7C78CC
RGBrgb(124, 120, 204)
HSLhsl(243, 45%, 64%)
OKLCHoklch(61.3% 0.125 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 #7C78CC 3.87:1 AA large text Lc -71.6 Content text, not long reading
Black text on #7C78CC 5.41:1 AA Lc 38.0 Non-text elements, placeholder text
#7C78CC text on white 3.87:1 AA large text Lc 66.1 Content text, not long reading
#7C78CC text on black 5.41:1 AA Lc -35.5 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

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D6D7EF

    oklch(88.6% 0.033 283.8)

  4. Step 300

    300

    #BBBCE8

    oklch(80.9% 0.062 283.9)

  5. Step 400

    400

    #9998DC

    oklch(70.7% 0.099 284.3)

  6. Step 500

    500 (this color)

    #7C78CC

    oklch(61.3% 0.125 284.2)

  7. Step 600

    600

    #6C65BF

    oklch(55.6% 0.136 284.6)

  8. Step 700

    700

    #5A54A5

    oklch(49.2% 0.126 284.1)

  9. Step 800

    800

    #494586

    oklch(42.7% 0.105 283.8)

  10. Step 900

    900

    #3D3A6B

    oklch(37.6% 0.082 284.5)

  11. Step 950

    950

    #24223F

    oklch(27% 0.053 285.4)

Export this scale for Tailwind in the Tailwind colors tool

#7C78CC 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)#5B84CF0.049
Deuteranopia (no green cones)#587FCA0.048
Tritanopia (no blue cones)#6588980.107
Achromatopsia (no color)#8181810.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C78CC

    #7C78CC

    oklch(61.3% 0.125 284.2)

  • #918711

    #918711

    oklch(61.3% 0.125 104.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C78CC

    #7C78CC

    oklch(61.3% 0.125 284.2)

  • #4B86CD

    #4B86CD

    oklch(61.3% 0.125 254.2)

  • #9F6BB8

    #9F6BB8

    oklch(61.2% 0.126 314.1)

Open the analogous palette in the generator

Split complementary

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

  • #7C78CC

    #7C78CC

    oklch(61.3% 0.125 284.2)

  • #B07711

    #B07711

    oklch(61.3% 0.125 74.3)

  • #639442

    #639442

    oklch(61.3% 0.125 134.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C78CC

    #7C78CC

    oklch(61.3% 0.125 284.2)

  • #C16940

    #C16940

    oklch(61.4% 0.125 44.6)

  • #179B70

    #179B70

    oklch(61.3% 0.125 164.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C78CC

    #7C78CC

    oklch(61.3% 0.125 284.2)

  • #C3616D

    #C3616D

    oklch(61.2% 0.125 13.8)

  • #918711

    #918711

    oklch(61.3% 0.125 104.1)

  • #009797

    #009797

    oklch(61.2% 0.105 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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