#7F7986

Closest named color: Gray (#808080). oklch(58.6% 0.021 306.5), rgb(127, 121, 134).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessmedium-dark (59%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameGray (#808080)
Black text4.98:1
White text4.21:1

Values

HEX#7F7986
RGBrgb(127, 121, 134)
HSLhsl(268, 5%, 50%)
OKLCHoklch(58.6% 0.021 306.5)

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

    #F5F5F6

    oklch(97% 0.001 286.4)

  2. Step 100

    100

    #EAE9EB

    oklch(93.5% 0.003 308.4)

  3. Step 200

    200

    #DAD8DC

    oklch(88.5% 0.006 308.4)

  4. Step 300

    300

    #C2BFC5

    oklch(80.9% 0.009 308.3)

  5. Step 400

    400

    #A39EA8

    oklch(70.7% 0.015 308.2)

  6. Step 500

    500

    #8C8793

    oklch(63.2% 0.019 304.6)

  7. Step 600

    600 (this color)

    #7F7986

    oklch(58.6% 0.021 306.5)

  8. Step 700

    700

    #635E6A

    oklch(49.1% 0.02 304.5)

  9. Step 800

    800

    #514D56

    oklch(42.7% 0.016 305.7)

  10. Step 900

    900

    #434047

    oklch(37.7% 0.012 305.1)

  11. Step 950

    950

    #27252A

    oklch(26.9% 0.01 303.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F7986 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)#777B870.012
Deuteranopia (no green cones)#787B860.011
Tritanopia (no blue cones)#7E7B7D0.017
Achromatopsia (no color)#7B7B7B0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F7986

    #7F7986

    oklch(58.6% 0.021 306.5)

  • #797E71

    #797E71

    oklch(58.5% 0.02 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F7986

    #7F7986

    oklch(58.6% 0.021 306.5)

  • #787B89

    #787B89

    oklch(58.5% 0.022 276.1)

  • #847881

    #847881

    oklch(58.6% 0.02 334.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F7986

    #7F7986

    oklch(58.6% 0.021 306.5)

  • #7F7C6E

    #7F7C6E

    oklch(58.5% 0.021 97.1)

  • #738077

    #738077

    oklch(58.6% 0.02 155.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F7986

    #7F7986

    oklch(58.6% 0.021 306.5)

  • #857A6F

    #857A6F

    oklch(58.6% 0.021 67.4)

  • #6F807E

    #6F807E

    oklch(58.5% 0.02 188)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F7986

    #7F7986

    oklch(58.6% 0.021 306.5)

  • #887873

    #887873

    oklch(58.6% 0.021 38.1)

  • #797E71

    #797E71

    oklch(58.5% 0.02 124.2)

  • #6F7F84

    #6F7F84

    oklch(58.5% 0.02 218.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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