#797DB0

Closest named color: Lavender Gray (#7E7F9A). oklch(60.6% 0.077 280.4), rgb(121, 125, 176).

Aa

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

About this color

#797DB0 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.077 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.037 away. Black text reads best on it, at 5.37:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.37:1
White text3.90:1

Values

HEX#797DB0
RGBrgb(121, 125, 176)
HSLhsl(236, 26%, 58%)
OKLCHoklch(60.6% 0.077 280.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 #797DB0 3.90:1 AA large text Lc -72.0 Content text, not long reading
Black text on #797DB0 5.37:1 AA Lc 37.6 Non-text elements, placeholder text
#797DB0 text on white 3.90:1 AA large text Lc 66.5 Content text, not long reading
#797DB0 text on black 5.37:1 AA Lc -35.2 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D6D8E7

    oklch(88.5% 0.021 279.9)

  4. Step 300

    300

    #BBBED9

    oklch(80.8% 0.038 280.5)

  5. Step 400

    400

    #999DC6

    oklch(70.7% 0.06 280.4)

  6. Step 500

    500 (this color)

    #797DB0

    oklch(60.6% 0.077 280.4)

  7. Step 600

    600

    #6A6DA4

    oklch(55.5% 0.085 280.8)

  8. Step 700

    700

    #585B8C

    oklch(49% 0.078 280.4)

  9. Step 800

    800

    #484B72

    oklch(42.7% 0.065 279.9)

  10. Step 900

    900

    #3C3F5C

    oklch(37.8% 0.05 279.2)

  11. Step 950

    950

    #232536

    oklch(27% 0.032 278.9)

Export this scale for Tailwind in the Tailwind colors tool

#797DB0 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)#6E83B20.020
Deuteranopia (no green cones)#6B7FAF0.020
Tritanopia (no blue cones)#6B868F0.067
Achromatopsia (no color)#8181810.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #797DB0

    #797DB0

    oklch(60.6% 0.077 280.4)

  • #8D834B

    #8D834B

    oklch(60.6% 0.077 99.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797DB0

    #797DB0

    oklch(60.6% 0.077 280.4)

  • #5E86AF

    #5E86AF

    oklch(60.7% 0.077 249.8)

  • #9175A5

    #9175A5

    oklch(60.7% 0.078 310.7)

Open the analogous palette in the generator

Split complementary

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

  • #797DB0

    #797DB0

    oklch(60.6% 0.077 280.4)

  • #A07A4D

    #A07A4D

    oklch(60.6% 0.077 70.2)

  • #728C5A

    #728C5A

    oklch(60.7% 0.078 130.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797DB0

    #797DB0

    oklch(60.6% 0.077 280.4)

  • #AA725E

    #AA725E

    oklch(60.5% 0.077 40.4)

  • #569172

    #569172

    oklch(60.7% 0.078 159.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797DB0

    #797DB0

    oklch(60.6% 0.077 280.4)

  • #AB6F77

    #AB6F77

    oklch(60.7% 0.077 10.9)

  • #8D834B

    #8D834B

    oklch(60.6% 0.077 99.4)

  • #42918D

    #42918D

    oklch(60.6% 0.078 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 #797DB0, closest first.

Similar named colors

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

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