#797DAD

Closest named color: Lavender Gray (#7E7F9A). oklch(60.5% 0.073 280.3), rgb(121, 125, 173).

Aa

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

About this color

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

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

Values

HEX#797DAD
RGBrgb(121, 125, 173)
HSLhsl(235, 24%, 58%)
OKLCHoklch(60.5% 0.073 280.3)

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 #797DAD 3.92:1 AA large text Lc -72.1 Content text, not long reading
Black text on #797DAD 5.34:1 AA Lc 37.4 Non-text elements, placeholder text
#797DAD text on white 3.92:1 AA large text Lc 66.6 Content text, not long reading
#797DAD text on black 5.34:1 AA Lc -35.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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D6D8E6

    oklch(88.5% 0.019 279.5)

  4. Step 300

    300

    #BCBFD8

    oklch(81% 0.035 280.2)

  5. Step 400

    400

    #999DC4

    oklch(70.6% 0.057 280.2)

  6. Step 500

    500 (this color)

    #797DAD

    oklch(60.5% 0.073 280.3)

  7. Step 600

    600

    #6A6EA1

    oklch(55.6% 0.079 280)

  8. Step 700

    700

    #595C8A

    oklch(49.2% 0.073 280.5)

  9. Step 800

    800

    #484B70

    oklch(42.6% 0.061 279.9)

  10. Step 900

    900

    #3D3F5B

    oklch(37.8% 0.048 280.7)

  11. Step 950

    950

    #232535

    oklch(27% 0.03 278.7)

Export this scale for Tailwind in the Tailwind colors tool

#797DAD 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)#6F82AF0.018
Deuteranopia (no green cones)#6D7FAC0.017
Tritanopia (no blue cones)#6C868E0.064
Achromatopsia (no color)#8080800.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #797DAD

    #797DAD

    oklch(60.5% 0.073 280.3)

  • #8B834E

    #8B834E

    oklch(60.4% 0.073 100.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797DAD

    #797DAD

    oklch(60.5% 0.073 280.3)

  • #6085AC

    #6085AC

    oklch(60.5% 0.073 250.4)

  • #8F76A3

    #8F76A3

    oklch(60.6% 0.073 309.6)

Open the analogous palette in the generator

Split complementary

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

  • #797DAD

    #797DAD

    oklch(60.5% 0.073 280.3)

  • #9E7A50

    #9E7A50

    oklch(60.5% 0.073 70)

  • #738B5C

    #738B5C

    oklch(60.5% 0.073 130.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797DAD

    #797DAD

    oklch(60.5% 0.073 280.3)

  • #A87360

    #A87360

    oklch(60.5% 0.073 40.5)

  • #598F73

    #598F73

    oklch(60.4% 0.072 160.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797DAD

    #797DAD

    oklch(60.5% 0.073 280.3)

  • #A86F77

    #A86F77

    oklch(60.4% 0.073 10.3)

  • #8B834E

    #8B834E

    oklch(60.4% 0.073 100.8)

  • #47908C

    #47908C

    oklch(60.5% 0.073 190.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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