#796FAD

Closest named color: Dark Lavender (#856798). oklch(57.6% 0.094 290.5), rgb(121, 111, 173).

Aa

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

About this color

#796FAD is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.094 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.038 away. Black text reads best on it, at 4.69:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.69:1
White text4.47:1

Values

HEX#796FAD
RGBrgb(121, 111, 173)
HSLhsl(250, 27%, 56%)
OKLCHoklch(57.6% 0.094 290.5)

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 #796FAD 4.47:1 AA large text Lc -76.5 Fine for body text
Black text on #796FAD 4.69:1 AA Lc 33.1 Non-text elements, placeholder text
#796FAD text on white 4.47:1 AA large text Lc 71.0 Content text, not long reading
#796FAD text on black 4.69:1 AA Lc -30.6 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200

    #D9D7E8

    oklch(88.6% 0.023 291.3)

  4. Step 300

    300

    #C0BCDB

    oklch(80.8% 0.043 291.3)

  5. Step 400

    400

    #A09AC8

    oklch(70.8% 0.067 290.6)

  6. Step 500

    500

    #8980BA

    oklch(63% 0.087 290.8)

  7. Step 600

    600 (this color)

    #796FAD

    oklch(57.6% 0.094 290.5)

  8. Step 700

    700

    #61578F

    oklch(49.1% 0.089 291)

  9. Step 800

    800

    #4F4874

    oklch(42.8% 0.072 290.3)

  10. Step 900

    900

    #413C5E

    oklch(37.7% 0.058 290.1)

  11. Step 950

    950

    #262337

    oklch(26.9% 0.037 290.6)

Export this scale for Tailwind in the Tailwind colors tool

#796FAD 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)#5E78AF0.042
Deuteranopia (no green cones)#5E76AB0.041
Tritanopia (no blue cones)#6D7A860.079
Achromatopsia (no color)#7777770.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #796FAD

    #796FAD

    oklch(57.6% 0.094 290.5)

  • #7C7E37

    #7C7E37

    oklch(57.6% 0.094 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796FAD

    #796FAD

    oklch(57.6% 0.094 290.5)

  • #5879B1

    #5879B1

    oklch(57.5% 0.095 260.6)

  • #92669C

    #92669C

    oklch(57.6% 0.095 320)

Open the analogous palette in the generator

Split complementary

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

  • #796FAD

    #796FAD

    oklch(57.6% 0.094 290.5)

  • #967331

    #967331

    oklch(57.7% 0.094 80.7)

  • #5A8751

    #5A8751

    oklch(57.6% 0.094 140.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796FAD

    #796FAD

    oklch(57.6% 0.094 290.5)

  • #A66844

    #A66844

    oklch(57.7% 0.094 50.2)

  • #318B71

    #318B71

    oklch(57.6% 0.094 170.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796FAD

    #796FAD

    oklch(57.6% 0.094 290.5)

  • #AA6161

    #AA6161

    oklch(57.5% 0.095 20.4)

  • #7C7E37

    #7C7E37

    oklch(57.6% 0.094 110.5)

  • #138A90

    #138A90

    oklch(57.8% 0.095 200.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #796FAD 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.