#7C798E

Closest named color: Lavender Gray (#7E7F9A). oklch(58.6% 0.032 291.9), rgb(124, 121, 142).

Aa

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

About this color

#7C798E is a medium-dark, muted purple. In OKLCH its lightness is 59%, its chroma 0.032 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.022 away. Black text reads best on it, at 4.98:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamuted (0.032)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text4.98:1
White text4.21:1

Values

HEX#7C798E
RGBrgb(124, 121, 142)
HSLhsl(249, 9%, 52%)
OKLCHoklch(58.6% 0.032 291.9)

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 #7C798E 4.21:1 AA large text Lc -74.6 Content text, not long reading
Black text on #7C798E 4.98:1 AA Lc 35.0 Non-text elements, placeholder text
#7C798E text on white 4.21:1 AA large text Lc 69.1 Content text, not long reading
#7C798E text on black 4.98:1 AA Lc -32.6 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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #D9D8DE

    oklch(88.5% 0.008 293.9)

  4. Step 300

    300

    #C0BFC9

    oklch(80.8% 0.014 290.7)

  5. Step 400

    400

    #A09EAE

    oklch(70.6% 0.023 291.5)

  6. Step 500

    500

    #89879A

    oklch(63.2% 0.028 290.4)

  7. Step 600

    600 (this color)

    #7C798E

    oklch(58.6% 0.032 291.9)

  8. Step 700

    700

    #615E71

    oklch(49.2% 0.03 292.5)

  9. Step 800

    800

    #4F4D5C

    oklch(42.8% 0.025 291.4)

  10. Step 900

    900

    #41404B

    oklch(37.7% 0.019 289.6)

  11. Step 950

    950

    #26252C

    oklch(26.8% 0.013 292.1)

Export this scale for Tailwind in the Tailwind colors tool

#7C798E 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)#757C8F0.012
Deuteranopia (no green cones)#757B8D0.012
Tritanopia (no blue cones)#797C800.027
Achromatopsia (no color)#7B7B7B0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C798E

    #7C798E

    oklch(58.6% 0.032 291.9)

  • #7C7E69

    #7C7E69

    oklch(58.5% 0.031 111.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C798E

    #7C798E

    oklch(58.6% 0.032 291.9)

  • #727D90

    #727D90

    oklch(58.7% 0.032 261.4)

  • #857688

    #857688

    oklch(58.6% 0.032 320.6)

Open the analogous palette in the generator

Split complementary

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

  • #7C798E

    #7C798E

    oklch(58.6% 0.032 291.9)

  • #867B67

    #867B67

    oklch(58.7% 0.032 82.5)

  • #728170

    #728170

    oklch(58.6% 0.031 141.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C798E

    #7C798E

    oklch(58.6% 0.032 291.9)

  • #8C776B

    #8C776B

    oklch(58.5% 0.032 51.5)

  • #69837A

    #69837A

    oklch(58.7% 0.033 172.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C798E

    #7C798E

    oklch(58.6% 0.032 291.9)

  • #8E7574

    #8E7574

    oklch(58.6% 0.031 20.8)

  • #7C7E69

    #7C7E69

    oklch(58.5% 0.031 111.8)

  • #668284

    #668284

    oklch(58.6% 0.032 201.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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