#7F78AA

Closest named color: Lavender Gray (#7E7F9A). oklch(59.8% 0.076 290.3), rgb(127, 120, 170).

Aa

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

About this color

#7F78AA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.076 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.036 away. Black text reads best on it, at 5.16:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text5.16:1
White text4.06:1

Values

HEX#7F78AA
RGBrgb(127, 120, 170)
HSLhsl(248, 23%, 57%)
OKLCHoklch(59.8% 0.076 290.3)

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 #7F78AA 4.06:1 AA large text Lc -73.3 Content text, not long reading
Black text on #7F78AA 5.16:1 AA Lc 36.3 Non-text elements, placeholder text
#7F78AA text on white 4.06:1 AA large text Lc 67.8 Content text, not long reading
#7F78AA text on black 5.16:1 AA Lc -33.8 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F1

    oklch(93.6% 0.011 286.2)

  3. Step 200

    200

    #D8D7E6

    oklch(88.4% 0.02 289)

  4. Step 300

    300

    #C0BDD7

    oklch(80.9% 0.036 290.9)

  5. Step 400

    400

    #A09BC4

    oklch(70.8% 0.059 290.4)

  6. Step 500

    500 (this color)

    #7F78AA

    oklch(59.8% 0.076 290.3)

  7. Step 600

    600

    #736BA0

    oklch(55.7% 0.081 290.4)

  8. Step 700

    700

    #605989

    oklch(49.1% 0.076 290)

  9. Step 800

    800

    #4F496F

    oklch(42.8% 0.062 290.8)

  10. Step 900

    900

    #413D5A

    oklch(37.7% 0.049 290.1)

  11. Step 950

    950

    #262435

    oklch(27% 0.031 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F78AA 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)#6B7FAC0.032
Deuteranopia (no green cones)#6B7DA90.030
Tritanopia (no blue cones)#76808A0.063
Achromatopsia (no color)#7E7E7E0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F78AA

    #7F78AA

    oklch(59.8% 0.076 290.3)

  • #82844D

    #82844D

    oklch(59.8% 0.076 110.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F78AA

    #7F78AA

    oklch(59.8% 0.076 290.3)

  • #6580AD

    #6580AD

    oklch(59.7% 0.076 260.4)

  • #94719C

    #94719C

    oklch(59.8% 0.076 320)

Open the analogous palette in the generator

Split complementary

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

  • #7F78AA

    #7F78AA

    oklch(59.8% 0.076 290.3)

  • #977B49

    #977B49

    oklch(59.8% 0.076 81)

  • #678B60

    #678B60

    oklch(59.8% 0.075 140.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F78AA

    #7F78AA

    oklch(59.8% 0.076 290.3)

  • #A57256

    #A57256

    oklch(59.8% 0.076 49.6)

  • #4D8E79

    #4D8E79

    oklch(59.7% 0.075 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F78AA

    #7F78AA

    oklch(59.8% 0.076 290.3)

  • #A86D6D

    #A86D6D

    oklch(59.7% 0.076 19.5)

  • #82844D

    #82844D

    oklch(59.8% 0.076 110.3)

  • #418D92

    #418D92

    oklch(59.8% 0.075 201.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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