#796C8F

Closest named color: Grey Purple (#826D8C). oklch(55.6% 0.055 301.6), rgb(121, 108, 143).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamuted (0.055)
Temperaturein between
Nearest nameGrey Purple (#826D8C)
Black text4.35:1
White text4.82:1

Values

HEX#796C8F
RGBrgb(121, 108, 143)
HSLhsl(262, 14%, 49%)
OKLCHoklch(55.6% 0.055 301.6)

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 #796C8F 4.82:1 AA Lc -78.9 Fine for body text
Black text on #796C8F 4.35:1 AA large text Lc 30.6 Non-text elements, placeholder text
#796C8F text on white 4.82:1 AA Lc 73.4 Content text, not long reading
#796C8F text on black 4.35:1 AA large text Lc -28.2 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

    #EAE9EE

    oklch(93.6% 0.007 295.4)

  3. Step 200

    200

    #DAD7E1

    oklch(88.4% 0.014 299.8)

  4. Step 300

    300

    #C3BDCE

    oklch(80.8% 0.024 301.9)

  5. Step 400

    400

    #A59BB6

    oklch(70.7% 0.04 302.2)

  6. Step 500

    500

    #8F83A4

    oklch(63.2% 0.051 301.6)

  7. Step 600

    600 (this color)

    #796C8F

    oklch(55.6% 0.055 301.6)

  8. Step 700

    700

    #665A7A

    oklch(49.1% 0.052 301.7)

  9. Step 800

    800

    #534A63

    oklch(42.8% 0.042 301.1)

  10. Step 900

    900

    #453E51

    oklch(37.9% 0.033 301.7)

  11. Step 950

    950

    #28242F

    oklch(26.9% 0.021 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#796C8F 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)#6572900.032
Deuteranopia (no green cones)#67728E0.031
Tritanopia (no blue cones)#7571780.044
Achromatopsia (no color)#7272720.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #796C8F

    #796C8F

    oklch(55.6% 0.055 301.6)

  • #6E7954

    #6E7954

    oklch(55.7% 0.056 121.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796C8F

    #796C8F

    oklch(55.6% 0.055 301.6)

  • #687294

    #687294

    oklch(55.7% 0.054 271.8)

  • #876882

    #876882

    oklch(55.7% 0.055 331.9)

Open the analogous palette in the generator

Split complementary

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

  • #796C8F

    #796C8F

    oklch(55.6% 0.055 301.6)

  • #7F734D

    #7F734D

    oklch(55.7% 0.056 92.6)

  • #5B7D63

    #5B7D63

    oklch(55.6% 0.056 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796C8F

    #796C8F

    oklch(55.6% 0.055 301.6)

  • #8B6C52

    #8B6C52

    oklch(55.5% 0.055 61.3)

  • #4D7E75

    #4D7E75

    oklch(55.5% 0.055 181.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796C8F

    #796C8F

    oklch(55.6% 0.055 301.6)

  • #91685F

    #91685F

    oklch(55.7% 0.055 32.7)

  • #6E7954

    #6E7954

    oklch(55.7% 0.056 121.7)

  • #4B7C86

    #4B7C86

    oklch(55.5% 0.055 212)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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