#A797C8

Closest named color: Pale Purple (#B790D4). oklch(70.8% 0.072 299.5), rgb(167, 151, 200).

Aa

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

About this color

#A797C8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.072 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.037 away. Black text reads best on it, at 7.90:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text7.90:1
White text2.65:1

Values

HEX#A797C8
RGBrgb(167, 151, 200)
HSLhsl(260, 31%, 69%)
OKLCHoklch(70.8% 0.072 299.5)

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 #A797C8 2.65:1 Fails Lc -56.9 Large or bold text, headings
Black text on #A797C8 7.90:1 AAA Lc 52.3 Large or bold text, headings
#A797C8 text on white 2.65:1 Fails Lc 51.7 Large or bold text, headings
#A797C8 text on black 7.90:1 AAA Lc -50.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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E8

    oklch(88.5% 0.025 298.6)

  4. Step 300

    300

    #C4BBDA

    oklch(80.9% 0.044 298.7)

  5. Step 400

    400 (this color)

    #A797C8

    oklch(70.8% 0.072 299.5)

  6. Step 500

    500

    #927DBA

    oklch(63.2% 0.092 299.6)

  7. Step 600

    600

    #7C65A6

    oklch(55.6% 0.101 299.4)

  8. Step 700

    700

    #69548E

    oklch(49.2% 0.093 299.7)

  9. Step 800

    800

    #554573

    oklch(42.7% 0.076 299.2)

  10. Step 900

    900

    #463A5D

    oklch(37.7% 0.06 299.3)

  11. Step 950

    950

    #292237

    oklch(27% 0.039 299.1)

Export this scale for Tailwind in the Tailwind colors tool

#A797C8 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)#8D9FCA0.039
Deuteranopia (no green cones)#8F9EC70.037
Tritanopia (no blue cones)#A19EA80.058
Achromatopsia (no color)#9F9F9F0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #A797C8

    #A797C8

    oklch(70.8% 0.072 299.5)

  • #9BA874

    #9BA874

    oklch(70.8% 0.073 119.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A797C8

    #A797C8

    oklch(70.8% 0.072 299.5)

  • #8F9FCF

    #8F9FCF

    oklch(70.8% 0.073 270.2)

  • #BB91B7

    #BB91B7

    oklch(70.8% 0.072 329.5)

Open the analogous palette in the generator

Split complementary

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

  • #A797C8

    #A797C8

    oklch(70.8% 0.072 299.5)

  • #B39F6C

    #B39F6C

    oklch(70.8% 0.072 89)

  • #81AE89

    #81AE89

    oklch(70.8% 0.072 149.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A797C8

    #A797C8

    oklch(70.8% 0.072 299.5)

  • #C39673

    #C39673

    oklch(70.7% 0.073 59.1)

  • #6CB0A2

    #6CB0A2

    oklch(70.8% 0.073 179.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A797C8

    #A797C8

    oklch(70.8% 0.072 299.5)

  • #CA9086

    #CA9086

    oklch(70.7% 0.073 29.9)

  • #9BA874

    #9BA874

    oklch(70.8% 0.073 119.7)

  • #68AEB9

    #68AEB9

    oklch(70.9% 0.072 208.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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