#A797BB

Closest named color: Cool Gray (#8D99AE). oklch(70.2% 0.055 305.2), rgb(167, 151, 187).

Aa

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

About this color

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

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

Values

HEX#A797BB
RGBrgb(167, 151, 187)
HSLhsl(267, 21%, 66%)
OKLCHoklch(70.2% 0.055 305.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 #A797BB 2.69:1 Fails Lc -57.5 Large or bold text, headings
Black text on #A797BB 7.78:1 AAA Lc 51.7 Large or bold text, headings
#A797BB text on white 2.69:1 Fails Lc 52.3 Large or bold text, headings
#A797BB text on black 7.78:1 AAA Lc -49.5 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8EF

    oklch(93.5% 0.01 305.4)

  3. Step 200

    200

    #DCD6E3

    oklch(88.5% 0.019 306.6)

  4. Step 300

    300

    #C6BBD3

    oklch(80.9% 0.035 306.2)

  5. Step 400

    400 (this color)

    #A797BB

    oklch(70.2% 0.055 305.2)

  6. Step 500

    500

    #937FAC

    oklch(63.1% 0.07 304.8)

  7. Step 600

    600

    #7E6897

    oklch(55.6% 0.076 305.5)

  8. Step 700

    700

    #6A5681

    oklch(49% 0.071 305.2)

  9. Step 800

    800

    #564769

    oklch(42.7% 0.058 304.3)

  10. Step 900

    900

    #473B55

    oklch(37.6% 0.046 305.4)

  11. Step 950

    950

    #2A2332

    oklch(27.1% 0.029 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#A797BB 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)#919DBD0.033
Deuteranopia (no green cones)#949EBA0.032
Tritanopia (no blue cones)#A49CA30.043
Achromatopsia (no color)#9D9D9D0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #A797BB

    #A797BB

    oklch(70.2% 0.055 305.2)

  • #97A681

    #97A681

    oklch(70.3% 0.055 125.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A797BB

    #A797BB

    oklch(70.2% 0.055 305.2)

  • #959DC2

    #959DC2

    oklch(70.3% 0.055 275.4)

  • #B593AD

    #B593AD

    oklch(70.3% 0.054 334.5)

Open the analogous palette in the generator

Split complementary

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

  • #A797BB

    #A797BB

    oklch(70.2% 0.055 305.2)

  • #A99F79

    #A99F79

    oklch(70.1% 0.054 95.1)

  • #85AA91

    #85AA91

    oklch(70.3% 0.054 155.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A797BB

    #A797BB

    oklch(70.2% 0.055 305.2)

  • #B7997C

    #B7997C

    oklch(70.3% 0.054 65.8)

  • #78ABA4

    #78ABA4

    oklch(70.3% 0.055 185.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A797BB

    #A797BB

    oklch(70.2% 0.055 305.2)

  • #BF9488

    #BF9488

    oklch(70.4% 0.055 36.1)

  • #97A681

    #97A681

    oklch(70.3% 0.055 125.7)

  • #78A8B5

    #78A8B5

    oklch(70.2% 0.054 216.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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