#796A87

Closest named color: Grey Purple (#826D8C). oklch(54.9% 0.048 308.2), rgb(121, 106, 135).

Aa

White text reads best on this color (4.97:1).

About this color

#796A87 is a medium-dark, muted purple. In OKLCH its lightness is 55%, its chroma 0.048 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grey Purple (#826D8C), ΔE 0.019 away. White text reads best on it, at 4.97:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamuted (0.048)
Temperaturein between
Nearest nameGrey Purple (#826D8C)
Black text4.22:1
White text4.97:1

Values

HEX#796A87
RGBrgb(121, 106, 135)
HSLhsl(271, 12%, 47%)
OKLCHoklch(54.9% 0.048 308.2)

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 #796A87 4.97:1 AA Lc -79.8 Fine for body text
Black text on #796A87 4.22:1 AA large text Lc 29.7 Dividers and decoration only
#796A87 text on white 4.97:1 AA Lc 74.4 Content text, not long reading
#796A87 text on black 4.22:1 AA large text Lc -27.3 Dividers and decoration only

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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE9ED

    oklch(93.7% 0.006 308.4)

  3. Step 200

    200

    #DBD7DF

    oklch(88.5% 0.012 308.3)

  4. Step 300

    300

    #C4BDCC

    oklch(80.9% 0.022 306.8)

  5. Step 400

    400

    #A69BB1

    oklch(70.6% 0.034 307.9)

  6. Step 500

    500

    #91839E

    oklch(63.2% 0.043 308.5)

  7. Step 600

    600 (this color)

    #796A87

    oklch(54.9% 0.048 308.2)

  8. Step 700

    700

    #685A74

    oklch(49.1% 0.044 309.1)

  9. Step 800

    800

    #554A5F

    oklch(42.8% 0.037 308.5)

  10. Step 900

    900

    #463E4D

    oklch(37.8% 0.027 309.1)

  11. Step 950

    950

    #29242D

    oklch(27% 0.018 310.1)

Export this scale for Tailwind in the Tailwind colors tool

#796A87 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)#656F880.032
Deuteranopia (no green cones)#6870860.030
Tritanopia (no blue cones)#776E740.036
Achromatopsia (no color)#7070700.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #796A87

    #796A87

    oklch(54.9% 0.048 308.2)

  • #697759

    #697759

    oklch(54.9% 0.048 128.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796A87

    #796A87

    oklch(54.9% 0.048 308.2)

  • #6A6F8D

    #6A6F8D

    oklch(54.9% 0.047 277.3)

  • #84677B

    #84677B

    oklch(54.9% 0.047 337.9)

Open the analogous palette in the generator

Split complementary

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

  • #796A87

    #796A87

    oklch(54.9% 0.048 308.2)

  • #787252

    #787252

    oklch(54.9% 0.047 98.8)

  • #5A7A67

    #5A7A67

    oklch(54.9% 0.047 158.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796A87

    #796A87

    oklch(54.9% 0.048 308.2)

  • #846C53

    #846C53

    oklch(54.8% 0.048 67.7)

  • #507B76

    #507B76

    oklch(55% 0.048 186.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796A87

    #796A87

    oklch(54.9% 0.048 308.2)

  • #8A685D

    #8A685D

    oklch(54.8% 0.047 38.7)

  • #697759

    #697759

    oklch(54.9% 0.048 128.2)

  • #517884

    #517884

    oklch(54.8% 0.047 219.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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