#797796

Closest named color: Lavender Gray (#7E7F9A). oklch(58.2% 0.047 287.8), rgb(121, 119, 150).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamuted (0.047)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text4.89:1
White text4.29:1

Values

HEX#797796
RGBrgb(121, 119, 150)
HSLhsl(244, 13%, 53%)
OKLCHoklch(58.2% 0.047 287.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 #797796 4.29:1 AA large text Lc -75.2 Fine for body text
Black text on #797796 4.89:1 AA Lc 34.4 Non-text elements, placeholder text
#797796 text on white 4.29:1 AA large text Lc 69.7 Content text, not long reading
#797796 text on black 4.89:1 AA Lc -32.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

    #E9E9EE

    oklch(93.5% 0.007 286.3)

  3. Step 200

    200

    #D8D8E1

    oklch(88.5% 0.012 286.1)

  4. Step 300

    300

    #BFBFCE

    oklch(80.9% 0.021 285.9)

  5. Step 400

    400

    #9F9EB5

    oklch(70.8% 0.033 287.5)

  6. Step 500

    500

    #8786A3

    oklch(63.1% 0.043 286.7)

  7. Step 600

    600 (this color)

    #797796

    oklch(58.2% 0.047 287.8)

  8. Step 700

    700

    #5F5D79

    oklch(49.1% 0.044 287.9)

  9. Step 800

    800

    #4E4C62

    oklch(42.7% 0.036 288.9)

  10. Step 900

    900

    #403F50

    oklch(37.6% 0.029 287.6)

  11. Step 950

    950

    #26252F

    oklch(27% 0.018 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#797796 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)#707B970.016
Deuteranopia (no green cones)#6F79950.015
Tritanopia (no blue cones)#737C810.041
Achromatopsia (no color)#7A7A7A0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #797796

    #797796

    oklch(58.2% 0.047 287.8)

  • #7D7D5D

    #7D7D5D

    oklch(58.1% 0.046 107.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797796

    #797796

    oklch(58.2% 0.047 287.8)

  • #6A7C97

    #6A7C97

    oklch(58.2% 0.047 258.4)

  • #87738E

    #87738E

    oklch(58.4% 0.047 317.3)

Open the analogous palette in the generator

Split complementary

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

  • #797796

    #797796

    oklch(58.2% 0.047 287.8)

  • #8B785B

    #8B785B

    oklch(58.3% 0.048 78.1)

  • #6E8267

    #6E8267

    oklch(58.3% 0.047 137.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797796

    #797796

    oklch(58.2% 0.047 287.8)

  • #937363

    #937363

    oklch(58.2% 0.047 47.9)

  • #608475

    #608475

    oklch(58.2% 0.047 167.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797796

    #797796

    oklch(58.2% 0.047 287.8)

  • #957070

    #957070

    oklch(58.2% 0.047 18.6)

  • #7D7D5D

    #7D7D5D

    oklch(58.1% 0.046 107.8)

  • #598485

    #598485

    oklch(58.2% 0.047 197.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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