#9796B8

Closest named color: Cool Gray (#8D99AE). oklch(68.6% 0.05 286.4), rgb(151, 150, 184).

Aa

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

About this color

#9796B8 is a medium-light, muted purple. In OKLCH its lightness is 69%, its chroma 0.050 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Gray (#8D99AE), ΔE 0.024 away. Black text reads best on it, at 7.37:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamuted (0.050)
Temperaturecool
Nearest nameCool Gray (#8D99AE)
Black text7.37:1
White text2.84:1

Values

HEX#9796B8
RGBrgb(151, 150, 184)
HSLhsl(242, 19%, 65%)
OKLCHoklch(68.6% 0.05 286.4)

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 #9796B8 2.84:1 Fails Lc -59.9 Large or bold text, headings
Black text on #9796B8 7.37:1 AAA Lc 49.4 Large or bold text, headings
#9796B8 text on white 2.84:1 Fails Lc 54.6 Large or bold text, headings
#9796B8 text on black 7.37:1 AAA Lc -47.2 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D8D8E4

    oklch(88.6% 0.016 286.1)

  4. Step 300

    300

    #BEBED4

    oklch(80.8% 0.031 285.7)

  5. Step 400

    400 (this color)

    #9796B8

    oklch(68.6% 0.05 286.4)

  6. Step 500

    500

    #8684AF

    oklch(63.1% 0.064 286.5)

  7. Step 600

    600

    #706D9A

    oklch(55.5% 0.069 287)

  8. Step 700

    700

    #5E5B84

    oklch(49.1% 0.065 287.1)

  9. Step 800

    800

    #4C4B6B

    oklch(42.7% 0.053 285.4)

  10. Step 900

    900

    #403E57

    oklch(37.7% 0.042 287.8)

  11. Step 950

    950

    #252533

    oklch(27.1% 0.026 284.5)

Export this scale for Tailwind in the Tailwind colors tool

#9796B8 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)#8E9ABA0.015
Deuteranopia (no green cones)#8D98B70.015
Tritanopia (no blue cones)#909CA10.044
Achromatopsia (no color)#9999990.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #9796B8

    #9796B8

    oklch(68.6% 0.05 286.4)

  • #9D9C79

    #9D9C79

    oklch(68.4% 0.049 106.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9796B8

    #9796B8

    oklch(68.6% 0.05 286.4)

  • #869CB9

    #869CB9

    oklch(68.6% 0.05 255.4)

  • #A791AF

    #A791AF

    oklch(68.6% 0.05 317)

Open the analogous palette in the generator

Split complementary

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

  • #9796B8

    #9796B8

    oklch(68.6% 0.05 286.4)

  • #AC9678

    #AC9678

    oklch(68.5% 0.049 75.4)

  • #8CA283

    #8CA283

    oklch(68.6% 0.051 136.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9796B8

    #9796B8

    oklch(68.6% 0.05 286.4)

  • #B59180

    #B59180

    oklch(68.6% 0.05 46.6)

  • #7DA493

    #7DA493

    oklch(68.5% 0.049 166.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9796B8

    #9796B8

    oklch(68.6% 0.05 286.4)

  • #B78E8F

    #B78E8F

    oklch(68.6% 0.05 16.8)

  • #9D9C79

    #9D9C79

    oklch(68.4% 0.049 106.3)

  • #76A4A4

    #76A4A4

    oklch(68.6% 0.049 196.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9796B8 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.