#797C9E

Closest named color: Lavender Gray (#7E7F9A). oklch(59.6% 0.052 280.8), rgb(121, 124, 158).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamuted (0.052)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.18:1
White text4.04:1

Values

HEX#797C9E
RGBrgb(121, 124, 158)
HSLhsl(235, 16%, 55%)
OKLCHoklch(59.6% 0.052 280.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 #797C9E 4.04:1 AA large text Lc -73.2 Content text, not long reading
Black text on #797C9E 5.18:1 AA Lc 36.4 Non-text elements, placeholder text
#797C9E text on white 4.04:1 AA large text Lc 67.7 Content text, not long reading
#797C9E text on black 5.18:1 AA Lc -34.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 500.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9EF

    oklch(93.6% 0.008 286.2)

  3. Step 200

    200

    #D7D8E2

    oklch(88.4% 0.014 281.5)

  4. Step 300

    300

    #BDBFD1

    oklch(80.9% 0.025 280.8)

  5. Step 400

    400

    #9B9EBA

    oklch(70.6% 0.041 280.5)

  6. Step 500

    500 (this color)

    #797C9E

    oklch(59.6% 0.052 280.8)

  7. Step 600

    600

    #6D7094

    oklch(55.6% 0.056 280.7)

  8. Step 700

    700

    #5B5E7E

    oklch(49.2% 0.051 280.2)

  9. Step 800

    800

    #4A4C67

    oklch(42.6% 0.045 281)

  10. Step 900

    900

    #3E4053

    oklch(37.7% 0.033 280)

  11. Step 950

    950

    #242531

    oklch(26.9% 0.022 281.1)

Export this scale for Tailwind in the Tailwind colors tool

#797C9E 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)#7380A00.013
Deuteranopia (no green cones)#717D9D0.012
Tritanopia (no blue cones)#7082870.047
Achromatopsia (no color)#7E7E7E0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #797C9E

    #797C9E

    oklch(59.6% 0.052 280.8)

  • #86805C

    #86805C

    oklch(59.6% 0.052 99.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797C9E

    #797C9E

    oklch(59.6% 0.052 280.8)

  • #68829D

    #68829D

    oklch(59.6% 0.051 249.7)

  • #897796

    #897796

    oklch(59.7% 0.051 310.9)

Open the analogous palette in the generator

Split complementary

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

  • #797C9E

    #797C9E

    oklch(59.6% 0.052 280.8)

  • #937A5D

    #937A5D

    oklch(59.6% 0.052 70.7)

  • #748665

    #748665

    oklch(59.6% 0.053 131.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797C9E

    #797C9E

    oklch(59.6% 0.052 280.8)

  • #9B7568

    #9B7568

    oklch(59.6% 0.052 39.7)

  • #648975

    #648975

    oklch(59.6% 0.051 160.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797C9E

    #797C9E

    oklch(59.6% 0.052 280.8)

  • #9B7378

    #9B7378

    oklch(59.7% 0.051 10.4)

  • #86805C

    #86805C

    oklch(59.6% 0.052 99.8)

  • #5A8986

    #5A8986

    oklch(59.5% 0.051 190.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #797C9E 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.