#7D798D

Closest named color: Lavender Gray (#7E7F9A). oklch(58.7% 0.031 294.6), rgb(125, 121, 141).

Aa

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

About this color

#7D798D is a medium-dark, muted purple. In OKLCH its lightness is 59%, its chroma 0.031 and its hue 295°. 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.99:1.

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

Values

HEX#7D798D
RGBrgb(125, 121, 141)
HSLhsl(252, 8%, 51%)
OKLCHoklch(58.7% 0.031 294.6)

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 #7D798D 4.20:1 AA large text Lc -74.5 Content text, not long reading
Black text on #7D798D 4.99:1 AA Lc 35.0 Non-text elements, placeholder text
#7D798D text on white 4.20:1 AA large text Lc 69.0 Content text, not long reading
#7D798D text on black 4.99: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

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #D9D8DE

    oklch(88.5% 0.008 293.9)

  4. Step 300

    300

    #C1BFC9

    oklch(80.9% 0.014 295.3)

  5. Step 400

    400

    #A19EAD

    oklch(70.7% 0.022 295)

  6. Step 500

    500

    #8A8699

    oklch(63% 0.029 295.2)

  7. Step 600

    600 (this color)

    #7D798D

    oklch(58.7% 0.031 294.6)

  8. Step 700

    700

    #615E70

    oklch(49.1% 0.029 293)

  9. Step 800

    800

    #504D5B

    oklch(42.8% 0.023 295.2)

  10. Step 900

    900

    #42404B

    oklch(37.8% 0.019 293.8)

  11. Step 950

    950

    #27252C

    oklch(27% 0.013 298.6)

Export this scale for Tailwind in the Tailwind colors tool

#7D798D 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)#757C8E0.013
Deuteranopia (no green cones)#757B8C0.013
Tritanopia (no blue cones)#7A7C800.025
Achromatopsia (no color)#7B7B7B0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D798D

    #7D798D

    oklch(58.7% 0.031 294.6)

  • #7B7F6A

    #7B7F6A

    oklch(58.7% 0.031 116.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D798D

    #7D798D

    oklch(58.7% 0.031 294.6)

  • #737C8F

    #737C8F

    oklch(58.5% 0.031 265.3)

  • #867687

    #867687

    oklch(58.6% 0.032 324.2)

Open the analogous palette in the generator

Split complementary

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

  • #7D798D

    #7D798D

    oklch(58.7% 0.031 294.6)

  • #857B68

    #857B68

    oklch(58.7% 0.031 83.5)

  • #718171

    #718171

    oklch(58.5% 0.031 145.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D798D

    #7D798D

    oklch(58.7% 0.031 294.6)

  • #8B786B

    #8B786B

    oklch(58.7% 0.031 56.4)

  • #6A827B

    #6A827B

    oklch(58.5% 0.03 175.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D798D

    #7D798D

    oklch(58.7% 0.031 294.6)

  • #8E7673

    #8E7673

    oklch(58.8% 0.03 26.4)

  • #7B7F6A

    #7B7F6A

    oklch(58.7% 0.031 116.1)

  • #688285

    #688285

    oklch(58.7% 0.03 205)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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