#A797B2

Closest named color: Cool Gray (#8D99AE). oklch(69.9% 0.043 311.6), rgb(167, 151, 178).

Aa

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

About this color

#A797B2 is a medium-light, muted purple. In OKLCH its lightness is 70%, its chroma 0.043 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.038 away. Black text reads best on it, at 7.71:1.

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

Values

HEX#A797B2
RGBrgb(167, 151, 178)
HSLhsl(276, 15%, 65%)
OKLCHoklch(69.9% 0.043 311.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 #A797B2 2.72:1 Fails Lc -58.0 Large or bold text, headings
Black text on #A797B2 7.71:1 AAA Lc 51.3 Large or bold text, headings
#A797B2 text on white 2.72:1 Fails Lc 52.7 Large or bold text, headings
#A797B2 text on black 7.71:1 AAA Lc -49.1 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

    #EBE8EE

    oklch(93.5% 0.009 308.4)

  3. Step 200

    200

    #DCD6E0

    oklch(88.4% 0.015 312.2)

  4. Step 300

    300

    #C6BCCE

    oklch(80.9% 0.027 310.3)

  5. Step 400

    400 (this color)

    #A797B2

    oklch(69.9% 0.043 311.6)

  6. Step 500

    500

    #9480A2

    oklch(63% 0.055 311.2)

  7. Step 600

    600

    #7F6A8D

    oklch(55.7% 0.059 311.6)

  8. Step 700

    700

    #6B5878

    oklch(49.1% 0.055 311.3)

  9. Step 800

    800

    #574861

    oklch(42.7% 0.045 311.6)

  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

#A797B2 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)#939CB30.030
Deuteranopia (no green cones)#969DB10.028
Tritanopia (no blue cones)#A69AA00.031
Achromatopsia (no color)#9D9D9D0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #A797B2

    #A797B2

    oklch(69.9% 0.043 311.6)

  • #95A489

    #95A489

    oklch(69.9% 0.042 131.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A797B2

    #A797B2

    oklch(69.9% 0.043 311.6)

  • #999CB9

    #999CB9

    oklch(70% 0.042 280.6)

  • #B294A6

    #B294A6

    oklch(69.9% 0.043 341.6)

Open the analogous palette in the generator

Split complementary

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

  • #A797B2

    #A797B2

    oklch(69.9% 0.043 311.6)

  • #A3A081

    #A3A081

    oklch(70% 0.043 102.9)

  • #87A796

    #87A796

    oklch(69.9% 0.043 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A797B2

    #A797B2

    oklch(69.9% 0.043 311.6)

  • #AF9A82

    #AF9A82

    oklch(69.8% 0.042 70.8)

  • #80A7A5

    #80A7A5

    oklch(69.9% 0.042 192.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A797B2

    #A797B2

    oklch(69.9% 0.043 311.6)

  • #B6968A

    #B6968A

    oklch(69.9% 0.042 41.6)

  • #95A489

    #95A489

    oklch(69.9% 0.042 131.2)

  • #81A5B1

    #81A5B1

    oklch(69.9% 0.043 220.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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