#A796B2

Closest named color: Cool Gray (#8D99AE). oklch(69.7% 0.045 312.2), rgb(167, 150, 178).

Aa

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

About this color

#A796B2 is a medium-light, muted purple. In OKLCH its lightness is 70%, its chroma 0.045 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Cool Gray (#8D99AE), ΔE 0.039 away. Black text reads best on it, at 7.64:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamuted (0.045)
Temperaturein between
Nearest nameCool Gray (#8D99AE)
Black text7.64:1
White text2.74:1

Values

HEX#A796B2
RGBrgb(167, 150, 178)
HSLhsl(276, 15%, 64%)
OKLCHoklch(69.7% 0.045 312.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 #A796B2 2.74:1 Fails Lc -58.3 Large or bold text, headings
Black text on #A796B2 7.64:1 AAA Lc 50.9 Large or bold text, headings
#A796B2 text on white 2.74:1 Fails Lc 53.1 Large or bold text, headings
#A796B2 text on black 7.64:1 AAA Lc -48.8 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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DDD6E1

    oklch(88.5% 0.017 313.6)

  4. Step 300

    300

    #C7BCCE

    oklch(81% 0.028 312.5)

  5. Step 400

    400 (this color)

    #A796B2

    oklch(69.7% 0.045 312.2)

  6. Step 500

    500

    #9580A3

    oklch(63.1% 0.057 311.7)

  7. Step 600

    600

    #80698E

    oklch(55.6% 0.062 312.4)

  8. Step 700

    700

    #6C5779

    oklch(49.1% 0.059 312.2)

  9. Step 800

    800

    #584762

    oklch(42.6% 0.049 312.7)

  10. Step 900

    900

    #483C50

    oklch(37.7% 0.037 311.6)

  11. Step 950

    950

    #2A232F

    oklch(26.9% 0.024 311)

Export this scale for Tailwind in the Tailwind colors tool

#A796B2 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)#929BB30.031
Deuteranopia (no green cones)#969CB10.028
Tritanopia (no blue cones)#A6999F0.032
Achromatopsia (no color)#9C9C9C0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #A796B2

    #A796B2

    oklch(69.7% 0.045 312.2)

  • #93A487

    #93A487

    oklch(69.7% 0.046 132.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A796B2

    #A796B2

    oklch(69.7% 0.045 312.2)

  • #999BB9

    #999BB9

    oklch(69.8% 0.044 282.2)

  • #B293A5

    #B293A5

    oklch(69.7% 0.044 342.6)

Open the analogous palette in the generator

Split complementary

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

  • #A796B2

    #A796B2

    oklch(69.7% 0.045 312.2)

  • #A39F7F

    #A39F7F

    oklch(69.7% 0.045 101.6)

  • #85A795

    #85A795

    oklch(69.8% 0.046 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A796B2

    #A796B2

    oklch(69.7% 0.045 312.2)

  • #AF9A80

    #AF9A80

    oklch(69.8% 0.044 72.9)

  • #7EA7A5

    #7EA7A5

    oklch(69.8% 0.044 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A796B2

    #A796B2

    oklch(69.7% 0.045 312.2)

  • #B79588

    #B79588

    oklch(69.7% 0.045 42)

  • #93A487

    #93A487

    oklch(69.7% 0.046 132.4)

  • #80A4B2

    #80A4B2

    oklch(69.7% 0.044 223.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #A796B2 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.