#A797DE

Closest named color: Pale Purple (#B790D4). oklch(71.7% 0.103 294), rgb(167, 151, 222).

Aa

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

About this color

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

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

Values

HEX#A797DE
RGBrgb(167, 151, 222)
HSLhsl(254, 52%, 73%)
OKLCHoklch(71.7% 0.103 294)

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 #A797DE 2.58:1 Fails Lc -55.6 Large or bold text, headings
Black text on #A797DE 8.12:1 AAA Lc 53.5 Large or bold text, headings
#A797DE text on white 2.58:1 Fails Lc 50.5 Large or bold text, headings
#A797DE text on black 8.12:1 AAA Lc -51.4 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

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EF

    oklch(88.5% 0.036 294.5)

  4. Step 300

    300

    #C2B9E7

    oklch(80.8% 0.065 293.9)

  5. Step 400

    400 (this color)

    #A797DE

    oklch(71.7% 0.103 294)

  6. Step 500

    500

    #8E78D1

    oklch(63.1% 0.132 293.6)

  7. Step 600

    600

    #795FBE

    oklch(55.6% 0.144 293.8)

  8. Step 700

    700

    #664EA4

    oklch(49.1% 0.134 293.8)

  9. Step 800

    800

    #534085

    oklch(42.6% 0.111 293.8)

  10. Step 900

    900

    #45376A

    oklch(37.7% 0.086 294.6)

  11. Step 950

    950

    #28213E

    oklch(27.1% 0.053 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#A797DE 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)#85A2E10.051
Deuteranopia (no green cones)#87A0DC0.048
Tritanopia (no blue cones)#9CA3B10.085
Achromatopsia (no color)#A1A1A10.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #A797DE

    #A797DE

    oklch(71.7% 0.103 294)

  • #A3AB5D

    #A3AB5D

    oklch(71.7% 0.102 113.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A797DE

    #A797DE

    oklch(71.7% 0.103 294)

  • #83A3E5

    #83A3E5

    oklch(71.8% 0.103 264.1)

  • #C48DC8

    #C48DC8

    oklch(71.7% 0.104 324.3)

Open the analogous palette in the generator

Split complementary

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

  • #A797DE

    #A797DE

    oklch(71.7% 0.103 294)

  • #C29E53

    #C29E53

    oklch(71.7% 0.103 84)

  • #7BB57A

    #7BB57A

    oklch(71.8% 0.104 144)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A797DE

    #A797DE

    oklch(71.7% 0.103 294)

  • #D69264

    #D69264

    oklch(71.8% 0.103 54.4)

  • #53B99F

    #53B99F

    oklch(71.8% 0.103 174)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A797DE

    #A797DE

    oklch(71.7% 0.103 294)

  • #DD8A84

    #DD8A84

    oklch(71.8% 0.103 24.4)

  • #A3AB5D

    #A3AB5D

    oklch(71.7% 0.102 113.8)

  • #42B6C1

    #42B6C1

    oklch(71.6% 0.103 204.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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