#A797D7

Closest named color: Pale Purple (#B790D4). oklch(71.4% 0.093 295.4), rgb(167, 151, 215).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.05:1
White text2.60:1

Values

HEX#A797D7
RGBrgb(167, 151, 215)
HSLhsl(255, 44%, 72%)
OKLCHoklch(71.4% 0.093 295.4)

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 #A797D7 2.60:1 Fails Lc -56.0 Large or bold text, headings
Black text on #A797D7 8.05:1 AAA Lc 53.1 Large or bold text, headings
#A797D7 text on white 2.60:1 Fails Lc 50.9 Large or bold text, headings
#A797D7 text on black 8.05:1 AAA Lc -51.0 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #DAD5ED

    oklch(88.4% 0.033 295.3)

  4. Step 300

    300

    #C3BAE3

    oklch(81% 0.058 295.1)

  5. Step 400

    400 (this color)

    #A797D7

    oklch(71.4% 0.093 295.4)

  6. Step 500

    500

    #8F7AC9

    oklch(63.1% 0.118 295)

  7. Step 600

    600

    #7A61B6

    oklch(55.5% 0.13 295.4)

  8. Step 700

    700

    #67509D

    oklch(49.1% 0.121 295.4)

  9. Step 800

    800

    #54427F

    oklch(42.7% 0.099 295.5)

  10. Step 900

    900

    #453866

    oklch(37.7% 0.078 295.4)

  11. Step 950

    950

    #28213C

    oklch(26.9% 0.05 294.8)

Export this scale for Tailwind in the Tailwind colors tool

#A797D7 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)#88A1DA0.047
Deuteranopia (no green cones)#8A9FD50.044
Tritanopia (no blue cones)#9EA1AE0.076
Achromatopsia (no color)#A0A0A00.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #A797D7

    #A797D7

    oklch(71.4% 0.093 295.4)

  • #A0AA65

    #A0AA65

    oklch(71.4% 0.093 115.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A797D7

    #A797D7

    oklch(71.4% 0.093 295.4)

  • #87A2DE

    #87A2DE

    oklch(71.5% 0.093 265.5)

  • #C18EC3

    #C18EC3

    oklch(71.3% 0.094 325.3)

Open the analogous palette in the generator

Split complementary

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

  • #A797D7

    #A797D7

    oklch(71.4% 0.093 295.4)

  • #BD9E5C

    #BD9E5C

    oklch(71.3% 0.092 84.9)

  • #7DB37F

    #7DB37F

    oklch(71.5% 0.094 145.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A797D7

    #A797D7

    oklch(71.4% 0.093 295.4)

  • #D09369

    #D09369

    oklch(71.4% 0.093 55.2)

  • #5CB6A0

    #5CB6A0

    oklch(71.4% 0.093 175.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A797D7

    #A797D7

    oklch(71.4% 0.093 295.4)

  • #D78C85

    #D78C85

    oklch(71.5% 0.093 25.5)

  • #A0AA65

    #A0AA65

    oklch(71.4% 0.093 115.5)

  • #50B3BF

    #50B3BF

    oklch(71.3% 0.093 206.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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