#7E7D97

Closest named color: Lavender Gray (#7E7F9A). oklch(60% 0.039 286.9), rgb(126, 125, 151).

Aa

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

About this color

#7E7D97 is a medium-dark, muted purple. In OKLCH its lightness is 60%, its chroma 0.039 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.006 away. Black text reads best on it, at 5.26:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamuted (0.039)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.26:1
White text3.98:1

Values

HEX#7E7D97
RGBrgb(126, 125, 151)
HSLhsl(242, 11%, 54%)
OKLCHoklch(60% 0.039 286.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 #7E7D97 3.98:1 AA large text Lc -72.7 Content text, not long reading
Black text on #7E7D97 5.26:1 AA Lc 36.9 Non-text elements, placeholder text
#7E7D97 text on white 3.98:1 AA large text Lc 67.2 Content text, not long reading
#7E7D97 text on black 5.26:1 AA Lc -34.5 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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9ED

    oklch(93.5% 0.005 286.3)

  3. Step 200

    200

    #D8D8E0

    oklch(88.5% 0.011 286.2)

  4. Step 300

    300

    #BFBFCD

    oklch(80.9% 0.02 286)

  5. Step 400

    400

    #9F9EB3

    oklch(70.7% 0.03 287.8)

  6. Step 500

    500 (this color)

    #7E7D97

    oklch(60% 0.039 286.9)

  7. Step 600

    600

    #71708C

    oklch(55.6% 0.043 286.5)

  8. Step 700

    700

    #5F5E77

    oklch(49.2% 0.04 286.7)

  9. Step 800

    800

    #4D4C60

    oklch(42.5% 0.033 287.2)

  10. Step 900

    900

    #40404F

    oklch(37.7% 0.025 285.1)

  11. Step 950

    950

    #26252E

    oklch(26.9% 0.017 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#7E7D97 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)#7780980.012
Deuteranopia (no green cones)#767F960.013
Tritanopia (no blue cones)#7981860.033
Achromatopsia (no color)#7F7F7F0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7D97

    #7E7D97

    oklch(60% 0.039 286.9)

  • #828267

    #828267

    oklch(59.9% 0.039 107.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7D97

    #7E7D97

    oklch(60% 0.039 286.9)

  • #718198

    #718198

    oklch(59.9% 0.04 257.4)

  • #8A7990

    #8A7990

    oklch(59.9% 0.04 317.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E7D97

    #7E7D97

    oklch(60% 0.039 286.9)

  • #8E7D66

    #8E7D66

    oklch(59.9% 0.039 75.2)

  • #75866F

    #75866F

    oklch(60% 0.04 137.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7D97

    #7E7D97

    oklch(60% 0.039 286.9)

  • #95796C

    #95796C

    oklch(59.9% 0.04 46.3)

  • #6A887B

    #6A887B

    oklch(60% 0.039 166.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7D97

    #7E7D97

    oklch(60% 0.039 286.9)

  • #967778

    #967778

    oklch(59.9% 0.039 16.1)

  • #828267

    #828267

    oklch(59.9% 0.039 107.5)

  • #658888

    #658888

    oklch(60% 0.039 196.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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