#796FA5

Closest named color: Dark Lavender (#856798). oklch(57.2% 0.083 292.1), rgb(121, 111, 165).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.63:1
White text4.53:1

Values

HEX#796FA5
RGBrgb(121, 111, 165)
HSLhsl(251, 23%, 54%)
OKLCHoklch(57.2% 0.083 292.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 #796FA5 4.53:1 AA Lc -76.9 Fine for body text
Black text on #796FA5 4.63:1 AA Lc 32.6 Non-text elements, placeholder text
#796FA5 text on white 4.53:1 AA Lc 71.5 Content text, not long reading
#796FA5 text on black 4.63:1 AA Lc -30.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 600.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE9F1

    oklch(93.7% 0.011 291.9)

  3. Step 200

    200

    #D9D7E6

    oklch(88.5% 0.021 292.1)

  4. Step 300

    300

    #C1BDD7

    oklch(81% 0.036 292.6)

  5. Step 400

    400

    #A19AC3

    oklch(70.6% 0.06 292.6)

  6. Step 500

    500

    #8A81B4

    oklch(63% 0.076 292.2)

  7. Step 600

    600 (this color)

    #796FA5

    oklch(57.2% 0.083 292.1)

  8. Step 700

    700

    #625889

    oklch(49.1% 0.078 292.7)

  9. Step 800

    800

    #50486F

    oklch(42.6% 0.064 292.9)

  10. Step 900

    900

    #423D5A

    oklch(37.8% 0.049 291.8)

  11. Step 950

    950

    #272435

    oklch(27.1% 0.031 292.3)

Export this scale for Tailwind in the Tailwind colors tool

#796FA5 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)#6177A70.038
Deuteranopia (no green cones)#6275A40.035
Tritanopia (no blue cones)#7078830.068
Achromatopsia (no color)#7676760.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #796FA5

    #796FA5

    oklch(57.2% 0.083 292.1)

  • #797D41

    #797D41

    oklch(57.2% 0.083 112.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796FA5

    #796FA5

    oklch(57.2% 0.083 292.1)

  • #5D78A9

    #5D78A9

    oklch(57.2% 0.082 261.9)

  • #8F6895

    #8F6895

    oklch(57.3% 0.081 322)

Open the analogous palette in the generator

Split complementary

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

  • #796FA5

    #796FA5

    oklch(57.2% 0.083 292.1)

  • #90733B

    #90733B

    oklch(57.2% 0.083 82.2)

  • #5B8557

    #5B8557

    oklch(57.3% 0.083 142.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796FA5

    #796FA5

    oklch(57.2% 0.083 292.1)

  • #9F6A49

    #9F6A49

    oklch(57.3% 0.083 52.3)

  • #3D8873

    #3D8873

    oklch(57.3% 0.082 172.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796FA5

    #796FA5

    oklch(57.2% 0.083 292.1)

  • #A36462

    #A36462

    oklch(57.2% 0.082 21.9)

  • #797D41

    #797D41

    oklch(57.2% 0.083 112.1)

  • #2E868D

    #2E868D

    oklch(57.2% 0.082 202.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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