#A797BC

Closest named color: Cool Gray (#8D99AE). oklch(70.3% 0.056 304.6), rgb(167, 151, 188).

Aa

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

About this color

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

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

Values

HEX#A797BC
RGBrgb(167, 151, 188)
HSLhsl(266, 22%, 66%)
OKLCHoklch(70.3% 0.056 304.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 #A797BC 2.69:1 Fails Lc -57.5 Large or bold text, headings
Black text on #A797BC 7.79:1 AAA Lc 51.7 Large or bold text, headings
#A797BC text on white 2.69:1 Fails Lc 52.3 Large or bold text, headings
#A797BC text on black 7.79:1 AAA Lc -49.6 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

    #DCD6E4

    oklch(88.5% 0.02 305.2)

  4. Step 300

    300

    #C5BBD3

    oklch(80.8% 0.035 304.4)

  5. Step 400

    400 (this color)

    #A797BC

    oklch(70.3% 0.056 304.6)

  6. Step 500

    500

    #937FAD

    oklch(63.1% 0.071 304.3)

  7. Step 600

    600

    #7E6898

    oklch(55.7% 0.077 305)

  8. Step 700

    700

    #6A5682

    oklch(49.1% 0.073 304.7)

  9. Step 800

    800

    #56476A

    oklch(42.8% 0.059 303.6)

  10. Step 900

    900

    #473B56

    oklch(37.6% 0.048 304.5)

  11. Step 950

    950

    #2A2332

    oklch(27.1% 0.029 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#A797BC 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)#919DBE0.033
Deuteranopia (no green cones)#939EBB0.033
Tritanopia (no blue cones)#A49CA30.044
Achromatopsia (no color)#9E9E9E0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #A797BC

    #A797BC

    oklch(70.3% 0.056 304.6)

  • #97A680

    #97A680

    oklch(70.3% 0.056 125.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A797BC

    #A797BC

    oklch(70.3% 0.056 304.6)

  • #949DC3

    #949DC3

    oklch(70.2% 0.057 274.4)

  • #B693AD

    #B693AD

    oklch(70.4% 0.055 335.4)

Open the analogous palette in the generator

Split complementary

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

  • #A797BC

    #A797BC

    oklch(70.3% 0.056 304.6)

  • #AA9F78

    #AA9F78

    oklch(70.2% 0.055 94.2)

  • #84AA90

    #84AA90

    oklch(70.3% 0.056 154.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A797BC

    #A797BC

    oklch(70.3% 0.056 304.6)

  • #B8997B

    #B8997B

    oklch(70.3% 0.056 65.8)

  • #77ABA3

    #77ABA3

    oklch(70.2% 0.056 184.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A797BC

    #A797BC

    oklch(70.3% 0.056 304.6)

  • #BF9388

    #BF9388

    oklch(70.2% 0.056 34.4)

  • #97A680

    #97A680

    oklch(70.3% 0.056 125.3)

  • #77A9B5

    #77A9B5

    oklch(70.4% 0.056 214.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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