#7F798B

Closest named color: Lavender Gray (#7E7F9A). oklch(58.8% 0.028 300.7), rgb(127, 121, 139).

Aa

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

About this color

#7F798B is a medium-dark close to neutral grey. In OKLCH its lightness is 59%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.024 away. Black text reads best on it, at 5.01:1.

Hue familyNeutrals
Lightnessmedium-dark (59%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameLavender Gray (#7E7F9A)
Black text5.01:1
White text4.19:1

Values

HEX#7F798B
RGBrgb(127, 121, 139)
HSLhsl(260, 7%, 51%)
OKLCHoklch(58.8% 0.028 300.7)

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 #7F798B 4.19:1 AA large text Lc -74.4 Content text, not long reading
Black text on #7F798B 5.01:1 AA Lc 35.2 Non-text elements, placeholder text
#7F798B text on white 4.19:1 AA large text Lc 68.9 Content text, not long reading
#7F798B text on black 5.01:1 AA Lc -32.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 600.

  1. Step 50

    50

    #F5F5F6

    oklch(97% 0.001 286.4)

  2. Step 100

    100

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #DAD8DD

    oklch(88.5% 0.007 304.2)

  4. Step 300

    300

    #C2BFC8

    oklch(81% 0.013 301.2)

  5. Step 400

    400

    #A29EAC

    oklch(70.7% 0.021 298.9)

  6. Step 500

    500

    #8C8697

    oklch(63.1% 0.026 301.7)

  7. Step 600

    600 (this color)

    #7F798B

    oklch(58.8% 0.028 300.7)

  8. Step 700

    700

    #635E6E

    oklch(49.2% 0.026 299.7)

  9. Step 800

    800

    #514C59

    oklch(42.6% 0.022 302.9)

  10. Step 900

    900

    #434049

    oklch(37.8% 0.016 300.8)

  11. Step 950

    950

    #27252B

    oklch(26.9% 0.011 300.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F798B 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)#767C8C0.015
Deuteranopia (no green cones)#777C8A0.014
Tritanopia (no blue cones)#7D7B7F0.022
Achromatopsia (no color)#7C7C7C0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F798B

    #7F798B

    oklch(58.8% 0.028 300.7)

  • #7A7F6D

    #7A7F6D

    oklch(58.7% 0.027 119.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F798B

    #7F798B

    oklch(58.8% 0.028 300.7)

  • #767C8E

    #767C8E

    oklch(58.8% 0.028 270.9)

  • #877784

    #877784

    oklch(58.8% 0.027 332.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F798B

    #7F798B

    oklch(58.8% 0.028 300.7)

  • #837C6A

    #837C6A

    oklch(58.7% 0.028 89.3)

  • #718274

    #718274

    oklch(58.9% 0.029 150.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F798B

    #7F798B

    oklch(58.8% 0.028 300.7)

  • #89796C

    #89796C

    oklch(58.7% 0.028 61.3)

  • #6B827D

    #6B827D

    oklch(58.7% 0.028 180.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F798B

    #7F798B

    oklch(58.8% 0.028 300.7)

  • #8C7773

    #8C7773

    oklch(58.8% 0.027 30.6)

  • #7A7F6D

    #7A7F6D

    oklch(58.7% 0.027 119.9)

  • #6A8186

    #6A8186

    oklch(58.7% 0.028 212.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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