#A797E1

Closest named color: Pale Purple (#B790D4). oklch(71.8% 0.107 293.4), rgb(167, 151, 225).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.15:1
White text2.57:1

Values

HEX#A797E1
RGBrgb(167, 151, 225)
HSLhsl(253, 55%, 74%)
OKLCHoklch(71.8% 0.107 293.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 #A797E1 2.57:1 Fails Lc -55.4 Large or bold text, headings
Black text on #A797E1 8.15:1 AAA Lc 53.7 Large or bold text, headings
#A797E1 text on white 2.57:1 Fails Lc 50.3 Large or bold text, headings
#A797E1 text on black 8.15:1 AAA Lc -51.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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #DAD5F0

    oklch(88.5% 0.037 294.1)

  4. Step 300

    300

    #C2B9E9

    oklch(80.9% 0.068 293.4)

  5. Step 400

    400 (this color)

    #A797E1

    oklch(71.8% 0.107 293.4)

  6. Step 500

    500

    #8E77D4

    oklch(63.1% 0.137 293.4)

  7. Step 600

    600

    #795EC1

    oklch(55.6% 0.149 293.5)

  8. Step 700

    700

    #664DA7

    oklch(49.1% 0.139 293.4)

  9. Step 800

    800

    #534087

    oklch(42.8% 0.114 293.3)

  10. Step 900

    900

    #44376C

    oklch(37.7% 0.089 292.9)

  11. Step 950

    950

    #28203F

    oklch(26.9% 0.057 294.1)

Export this scale for Tailwind in the Tailwind colors tool

#A797E1 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)#84A2E40.051
Deuteranopia (no green cones)#86A0DF0.049
Tritanopia (no blue cones)#9BA4B20.089
Achromatopsia (no color)#A1A1A10.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #A797E1

    #A797E1

    oklch(71.8% 0.107 293.4)

  • #A4AB59

    #A4AB59

    oklch(71.8% 0.106 113.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A797E1

    #A797E1

    oklch(71.8% 0.107 293.4)

  • #81A3E8

    #81A3E8

    oklch(71.8% 0.108 263.8)

  • #C58DCB

    #C58DCB

    oklch(71.9% 0.107 323.3)

Open the analogous palette in the generator

Split complementary

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

  • #A797E1

    #A797E1

    oklch(71.8% 0.107 293.4)

  • #C49E4F

    #C49E4F

    oklch(71.8% 0.107 83.7)

  • #7AB678

    #7AB678

    oklch(71.9% 0.108 143.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A797E1

    #A797E1

    oklch(71.8% 0.107 293.4)

  • #D99162

    #D99162

    oklch(71.9% 0.107 53.3)

  • #4FBA9E

    #4FBA9E

    oklch(71.9% 0.107 173.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A797E1

    #A797E1

    oklch(71.8% 0.107 293.4)

  • #DF8984

    #DF8984

    oklch(71.9% 0.106 23.6)

  • #A4AB59

    #A4AB59

    oklch(71.8% 0.106 113.1)

  • #3BB7C2

    #3BB7C2

    oklch(71.7% 0.107 203.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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