#7E789A

Closest named color: Lavender Gray (#7E7F9A). oklch(59% 0.052 292.8), rgb(126, 120, 154).

Aa

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

About this color

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

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

Values

HEX#7E789A
RGBrgb(126, 120, 154)
HSLhsl(251, 14%, 54%)
OKLCHoklch(59% 0.052 292.8)

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 #7E789A 4.16:1 AA large text Lc -74.2 Content text, not long reading
Black text on #7E789A 5.04:1 AA Lc 35.4 Non-text elements, placeholder text
#7E789A text on white 4.16:1 AA large text Lc 68.7 Content text, not long reading
#7E789A text on black 5.04:1 AA Lc -33.0 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

    #EAE9EE

    oklch(93.6% 0.007 295.4)

  3. Step 200

    200

    #D9D8E1

    oklch(88.6% 0.012 291.3)

  4. Step 300

    300

    #C1BECF

    oklch(80.9% 0.024 294)

  5. Step 400

    400

    #A19DB6

    oklch(70.8% 0.036 292.8)

  6. Step 500

    500

    #8A85A4

    oklch(63.2% 0.046 292.4)

  7. Step 600

    600 (this color)

    #7E789A

    oklch(59% 0.052 292.8)

  8. Step 700

    700

    #615C7A

    oklch(49.1% 0.048 292.2)

  9. Step 800

    800

    #4F4B63

    oklch(42.6% 0.04 292.3)

  10. Step 900

    900

    #423F51

    oklch(37.8% 0.031 292.5)

  11. Step 950

    950

    #27252F

    oklch(27.1% 0.019 294.3)

Export this scale for Tailwind in the Tailwind colors tool

#7E789A 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)#707D9B0.023
Deuteranopia (no green cones)#717C990.021
Tritanopia (no blue cones)#797D840.042
Achromatopsia (no color)#7C7C7C0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E789A

    #7E789A

    oklch(59% 0.052 292.8)

  • #7D815D

    #7D815D

    oklch(59% 0.052 113.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E789A

    #7E789A

    oklch(59% 0.052 292.8)

  • #6D7E9D

    #6D7E9D

    oklch(59.1% 0.052 262.3)

  • #8D7390

    #8D7390

    oklch(59% 0.053 322.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E789A

    #7E789A

    oklch(59% 0.052 292.8)

  • #8D7B5A

    #8D7B5A

    oklch(59.1% 0.052 82.4)

  • #6C8669

    #6C8669

    oklch(59.1% 0.053 142.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E789A

    #7E789A

    oklch(59% 0.052 292.8)

  • #977561

    #977561

    oklch(59% 0.052 51.9)

  • #5D887A

    #5D887A

    oklch(59.1% 0.052 172.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E789A

    #7E789A

    oklch(59% 0.052 292.8)

  • #9A726F

    #9A726F

    oklch(59.1% 0.051 23.6)

  • #7D815D

    #7D815D

    oklch(59% 0.052 113.2)

  • #57878B

    #57878B

    oklch(59.1% 0.052 202.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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