#7D799B

Closest named color: Lavender Gray (#7E7F9A). oklch(59.2% 0.052 290.1), rgb(125, 121, 155).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamuted (0.052)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text5.08:1
White text4.13:1

Values

HEX#7D799B
RGBrgb(125, 121, 155)
HSLhsl(247, 15%, 54%)
OKLCHoklch(59.2% 0.052 290.1)

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 #7D799B 4.13:1 AA large text Lc -73.9 Content text, not long reading
Black text on #7D799B 5.08:1 AA Lc 35.6 Non-text elements, placeholder text
#7D799B text on white 4.13:1 AA large text Lc 68.4 Content text, not long reading
#7D799B text on black 5.08:1 AA Lc -33.2 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

    #E9E9EE

    oklch(93.5% 0.007 286.3)

  3. Step 200

    200

    #D9D8E1

    oklch(88.6% 0.012 291.3)

  4. Step 300

    300

    #C0BECF

    oklch(80.8% 0.024 291.3)

  5. Step 400

    400

    #A09DB7

    oklch(70.7% 0.038 290.7)

  6. Step 500

    500

    #8985A5

    oklch(63.1% 0.048 290.7)

  7. Step 600

    600 (this color)

    #7D799B

    oklch(59.2% 0.052 290.1)

  8. Step 700

    700

    #605C7A

    oklch(49% 0.048 290.6)

  9. Step 800

    800

    #4E4B64

    oklch(42.6% 0.041 290)

  10. Step 900

    900

    #413F51

    oklch(37.7% 0.031 289.9)

  11. Step 950

    950

    #262530

    oklch(27% 0.02 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#7D799B 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)#717D9D0.019
Deuteranopia (no green cones)#717C9A0.019
Tritanopia (no blue cones)#777E850.043
Achromatopsia (no color)#7D7D7D0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D799B

    #7D799B

    oklch(59.2% 0.052 290.1)

  • #7F815D

    #7F815D

    oklch(59.2% 0.052 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D799B

    #7D799B

    oklch(59.2% 0.052 290.1)

  • #6C7F9D

    #6C7F9D

    oklch(59.2% 0.051 259.4)

  • #8C7491

    #8C7491

    oklch(59.2% 0.052 320.5)

Open the analogous palette in the generator

Split complementary

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

  • #7D799B

    #7D799B

    oklch(59.2% 0.052 290.1)

  • #8E7B5B

    #8E7B5B

    oklch(59.2% 0.051 80.4)

  • #6E8669

    #6E8669

    oklch(59.3% 0.051 140.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D799B

    #7D799B

    oklch(59.2% 0.052 290.1)

  • #987562

    #987562

    oklch(59.2% 0.052 49.8)

  • #5F8879

    #5F8879

    oklch(59.2% 0.051 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D799B

    #7D799B

    oklch(59.2% 0.052 290.1)

  • #9A7271

    #9A7271

    oklch(59.2% 0.051 20.3)

  • #7F815D

    #7F815D

    oklch(59.2% 0.052 110.5)

  • #58878A

    #58878A

    oklch(59.1% 0.051 201)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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