#797B9F

Closest named color: Lavender Gray (#7E7F9A). oklch(59.5% 0.055 282.1), rgb(121, 123, 159).

Aa

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

About this color

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

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

Values

HEX#797B9F
RGBrgb(121, 123, 159)
HSLhsl(237, 17%, 55%)
OKLCHoklch(59.5% 0.055 282.1)

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 #797B9F 4.08:1 AA large text Lc -73.5 Content text, not long reading
Black text on #797B9F 5.14:1 AA Lc 36.1 Non-text elements, placeholder text
#797B9F text on white 4.08:1 AA large text Lc 68.0 Content text, not long reading
#797B9F text on black 5.14:1 AA Lc -33.7 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

    #D7D8E3

    oklch(88.5% 0.015 281.9)

  4. Step 300

    300

    #BDBFD2

    oklch(80.9% 0.027 281)

  5. Step 400

    400

    #9C9EBB

    oklch(70.7% 0.042 282.1)

  6. Step 500

    500 (this color)

    #797B9F

    oklch(59.5% 0.055 282.1)

  7. Step 600

    600

    #6D6F96

    oklch(55.5% 0.06 282)

  8. Step 700

    700

    #5B5D80

    oklch(49.1% 0.056 281.6)

  9. Step 800

    800

    #4B4C68

    oklch(42.7% 0.046 282.7)

  10. Step 900

    900

    #3E3F54

    oklch(37.6% 0.036 282.4)

  11. Step 950

    950

    #242531

    oklch(26.9% 0.022 281.1)

Export this scale for Tailwind in the Tailwind colors tool

#797B9F 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)#717FA10.014
Deuteranopia (no green cones)#707C9E0.013
Tritanopia (no blue cones)#7081870.048
Achromatopsia (no color)#7E7E7E0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #797B9F

    #797B9F

    oklch(59.5% 0.055 282.1)

  • #85805A

    #85805A

    oklch(59.4% 0.054 101.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797B9F

    #797B9F

    oklch(59.5% 0.055 282.1)

  • #67819F

    #67819F

    oklch(59.4% 0.055 252.3)

  • #8A7597

    #8A7597

    oklch(59.4% 0.056 312.4)

Open the analogous palette in the generator

Split complementary

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

  • #797B9F

    #797B9F

    oklch(59.5% 0.055 282.1)

  • #937A5A

    #937A5A

    oklch(59.5% 0.055 73.3)

  • #738664

    #738664

    oklch(59.5% 0.055 131.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797B9F

    #797B9F

    oklch(59.5% 0.055 282.1)

  • #9B7465

    #9B7465

    oklch(59.4% 0.054 42)

  • #618975

    #618975

    oklch(59.4% 0.054 162.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797B9F

    #797B9F

    oklch(59.5% 0.055 282.1)

  • #9C7176

    #9C7176

    oklch(59.3% 0.055 11.1)

  • #85805A

    #85805A

    oklch(59.4% 0.054 101.5)

  • #568987

    #568987

    oklch(59.4% 0.055 192.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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