#796EB3

Closest named color: Dark Lavender (#856798). oklch(57.7% 0.105 290), rgb(121, 110, 179).

Aa

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

About this color

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

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

Values

HEX#796EB3
RGBrgb(121, 110, 179)
HSLhsl(250, 31%, 57%)
OKLCHoklch(57.7% 0.105 290)

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

    #E9E8F3

    oklch(93.5% 0.015 290.3)

  3. Step 200

    200

    #D8D7EA

    oklch(88.6% 0.026 288.3)

  4. Step 300

    300

    #C0BCDE

    oklch(80.9% 0.048 290.7)

  5. Step 400

    400

    #9F99CD

    oklch(70.7% 0.075 289.6)

  6. Step 500

    500

    #897FC0

    oklch(63.1% 0.097 290.4)

  7. Step 600

    600 (this color)

    #796EB3

    oklch(57.7% 0.105 290)

  8. Step 700

    700

    #605694

    oklch(49.1% 0.098 289.7)

  9. Step 800

    800

    #4F4778

    oklch(42.8% 0.08 290.1)

  10. Step 900

    900

    #413B61

    oklch(37.6% 0.064 290.2)

  11. Step 950

    950

    #262339

    oklch(27% 0.04 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#796EB3 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)#5978B60.048
Deuteranopia (no green cones)#5A76B10.046
Tritanopia (no blue cones)#6B7B880.088
Achromatopsia (no color)#7777770.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #796EB3

    #796EB3

    oklch(57.7% 0.105 290)

  • #7D7F2C

    #7D7F2C

    oklch(57.8% 0.105 110.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796EB3

    #796EB3

    oklch(57.7% 0.105 290)

  • #547AB7

    #547AB7

    oklch(57.8% 0.104 259.5)

  • #9564A0

    #9564A0

    oklch(57.7% 0.105 320.1)

Open the analogous palette in the generator

Split complementary

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

  • #796EB3

    #796EB3

    oklch(57.7% 0.105 290)

  • #9A7224

    #9A7224

    oklch(57.8% 0.105 80.1)

  • #57894C

    #57894C

    oklch(57.9% 0.105 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796EB3

    #796EB3

    oklch(57.7% 0.105 290)

  • #AA663D

    #AA663D

    oklch(57.7% 0.104 50.6)

  • #218D70

    #218D70

    oklch(57.7% 0.105 170.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796EB3

    #796EB3

    oklch(57.7% 0.105 290)

  • #AF5E5F

    #AF5E5F

    oklch(57.7% 0.105 20.1)

  • #7D7F2C

    #7D7F2C

    oklch(57.8% 0.105 110.6)

  • #008B90

    #008B90

    oklch(57.8% 0.098 199.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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