#797A99

Closest named color: Lavender Gray (#7E7F9A). oklch(59% 0.047 283.4), rgb(121, 122, 153).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamuted (0.047)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.05:1
White text4.15:1

Values

HEX#797A99
RGBrgb(121, 122, 153)
HSLhsl(238, 14%, 54%)
OKLCHoklch(59% 0.047 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 #797A99 4.15:1 AA large text Lc -74.1 Content text, not long reading
Black text on #797A99 5.05:1 AA Lc 35.5 Non-text elements, placeholder text
#797A99 text on white 4.15:1 AA large text Lc 68.6 Content text, not long reading
#797A99 text on black 5.05:1 AA Lc -33.1 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

    #D8D8E1

    oklch(88.5% 0.012 286.1)

  4. Step 300

    300

    #BEBFCE

    oklch(80.8% 0.021 282.9)

  5. Step 400

    400

    #9D9EB6

    oklch(70.6% 0.035 283.6)

  6. Step 500

    500

    #8586A4

    oklch(63% 0.045 283.5)

  7. Step 600

    600 (this color)

    #797A99

    oklch(59% 0.047 283.4)

  8. Step 700

    700

    #5D5E79

    oklch(49.1% 0.043 283)

  9. Step 800

    800

    #4C4D63

    oklch(42.8% 0.036 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

#797A99 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)#727D9A0.012
Deuteranopia (no green cones)#717B980.012
Tritanopia (no blue cones)#727F840.042
Achromatopsia (no color)#7C7C7C0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #797A99

    #797A99

    oklch(59% 0.047 283.4)

  • #827F5E

    #827F5E

    oklch(59% 0.048 103.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797A99

    #797A99

    oklch(59% 0.047 283.4)

  • #6A7F99

    #6A7F99

    oklch(58.9% 0.047 254)

  • #877591

    #877591

    oklch(58.9% 0.047 313.5)

Open the analogous palette in the generator

Split complementary

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

  • #797A99

    #797A99

    oklch(59% 0.047 283.4)

  • #8F795E

    #8F795E

    oklch(59% 0.048 72.4)

  • #728467

    #728467

    oklch(59.1% 0.048 133.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797A99

    #797A99

    oklch(59% 0.047 283.4)

  • #967567

    #967567

    oklch(59.1% 0.047 44.1)

  • #648675

    #648675

    oklch(58.9% 0.046 162.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797A99

    #797A99

    oklch(59% 0.047 283.4)

  • #977275

    #977275

    oklch(59% 0.047 13.2)

  • #827F5E

    #827F5E

    oklch(59% 0.048 103.4)

  • #5C8685

    #5C8685

    oklch(58.9% 0.046 194.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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