Lavender Gray #7E7F9A

Lavender Gray is a medium-dark, muted purple with hex code #7E7F9A and RGB rgb(126, 127, 154).

Aa

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

About this color

#7E7F9A is a medium-dark, muted purple. In OKLCH its lightness is 61%, its chroma 0.041 and its hue 283°. Its hue sits on the cool side of the wheel. It is the named color Lavender Gray. Black text reads best on it, at 5.38:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamuted (0.041)
Temperaturecool
Nearest nameLavender Gray
Black text5.38:1
White text3.89:1

Colors that go with Lavender Gray

Matches found by rotating Lavender Gray around the OKLCH hue wheel, each labelled with the closest name in our list.

Analogous

Neighbouring hues, 30° either side.

Open the analogous palette in the generator

Color palettes with Lavender Gray

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Lavender Gray, closest first.

Similar named colors

The eight named colors closest to Lavender Gray, with their ΔE distance.

More about Lavender Gray

How to make Lavender Gray

A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.

  • 4 parts gray
  • 1 part purple

Recipe result: #897E8B, a difference of ΔE 0.027 from Lavender Gray. That is very close: most people will not see the difference.

What colors make purple? | Color mixing chart

Codes for Lavender Gray in every format

HEX#7E7F9A
RGBrgb(126, 127, 154)
HSLhsl(238, 12%, 55%)
OKLCHoklch(60.5% 0.041 283.4)

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 #7E7F9A 3.89:1 AA large text Lc -71.9 Content text, not long reading
Black text on #7E7F9A 5.38:1 AA Lc 37.7 Non-text elements, placeholder text
#7E7F9A text on white 3.89:1 AA large text Lc 66.4 Content text, not long reading
#7E7F9A text on black 5.38:1 AA Lc -35.2 Non-text elements, placeholder text

Shades and tints of Lavender Gray

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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9EE

    oklch(93.5% 0.007 286.3)

  3. Step 200

    200

    #D8D8E0

    oklch(88.5% 0.011 286.2)

  4. Step 300

    300

    #BEBFCD

    oklch(80.8% 0.02 282.7)

  5. Step 400

    400

    #9D9EB4

    oklch(70.6% 0.032 283.5)

  6. Step 500

    500 (this color)

    #7E7F9A

    oklch(60.5% 0.041 283.4)

  7. Step 600

    600

    #6F708D

    oklch(55.5% 0.045 283.3)

  8. Step 700

    700

    #5D5E78

    oklch(49.1% 0.041 283)

  9. Step 800

    800

    #4C4D61

    oklch(42.7% 0.033 282.7)

  10. Step 900

    900

    #3F4050

    oklch(37.7% 0.027 282.2)

  11. Step 950

    950

    #25252F

    oklch(26.9% 0.018 285.1)

Export this scale for Tailwind in the Tailwind colors tool

Lavender Gray 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)#78829B0.011
Deuteranopia (no green cones)#7780990.010
Tritanopia (no blue cones)#7884880.037
Achromatopsia (no color)#8181810.041

Use Lavender Gray 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.