#7F7D8A

Closest named color: Gray (#808080). oklch(59.6% 0.02 292.9), rgb(127, 125, 138).

Aa

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

About this color

#7F7D8A is a medium-dark close to neutral grey. In OKLCH its lightness is 60%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Gray (#808080), ΔE 0.020 away. Black text reads best on it, at 5.20:1.

Hue familyNeutrals
Lightnessmedium-dark (60%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameGray (#808080)
Black text5.20:1
White text4.03:1

Values

HEX#7F7D8A
RGBrgb(127, 125, 138)
HSLhsl(249, 5%, 52%)
OKLCHoklch(59.6% 0.02 292.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 #7F7D8A 4.03:1 AA large text Lc -73.1 Content text, not long reading
Black text on #7F7D8A 5.20:1 AA Lc 36.4 Non-text elements, placeholder text
#7F7D8A text on white 4.03:1 AA large text Lc 67.6 Content text, not long reading
#7F7D8A text on black 5.20:1 AA Lc -34.0 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

    #F5F5F6

    oklch(97% 0.001 286.4)

  2. Step 100

    100

    #EAE9EB

    oklch(93.5% 0.003 308.4)

  3. Step 200

    200

    #D9D8DC

    oklch(88.4% 0.006 297.7)

  4. Step 300

    300

    #C0BFC6

    oklch(80.8% 0.01 292.8)

  5. Step 400

    400

    #A19FAA

    oklch(70.8% 0.016 294.3)

  6. Step 500

    500 (this color)

    #7F7D8A

    oklch(59.6% 0.02 292.9)

  7. Step 600

    600

    #73717F

    oklch(55.5% 0.022 292.2)

  8. Step 700

    700

    #615F6B

    oklch(49.2% 0.019 293.3)

  9. Step 800

    800

    #4F4D57

    oklch(42.6% 0.017 294.9)

  10. Step 900

    900

    #424048

    oklch(37.6% 0.014 297.2)

  11. Step 950

    950

    #26262A

    oklch(27% 0.007 285.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F7D8A 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)#7A7F8B0.008
Deuteranopia (no green cones)#7B7E8A0.006
Tritanopia (no blue cones)#7D7F810.017
Achromatopsia (no color)#7E7E7E0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F7D8A

    #7F7D8A

    oklch(59.6% 0.02 292.9)

  • #7F8073

    #7F8073

    oklch(59.5% 0.019 110.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F7D8A

    #7F7D8A

    oklch(59.6% 0.02 292.9)

  • #797F8B

    #797F8B

    oklch(59.5% 0.02 264.4)

  • #857B86

    #857B86

    oklch(59.5% 0.02 323.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F7D8A

    #7F7D8A

    oklch(59.6% 0.02 292.9)

  • #857E72

    #857E72

    oklch(59.6% 0.02 81.3)

  • #788277

    #788277

    oklch(59.5% 0.02 142.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F7D8A

    #7F7D8A

    oklch(59.6% 0.02 292.9)

  • #897C74

    #897C74

    oklch(59.6% 0.02 53.8)

  • #74837E

    #74837E

    oklch(59.6% 0.019 173.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F7D8A

    #7F7D8A

    oklch(59.6% 0.02 292.9)

  • #8A7B79

    #8A7B79

    oklch(59.6% 0.019 26.8)

  • #7F8073

    #7F8073

    oklch(59.5% 0.019 110.6)

  • #728384

    #728384

    oklch(59.7% 0.02 201)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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