#A797CE

Closest named color: Pale Purple (#B790D4). oklch(71% 0.081 297.7), rgb(167, 151, 206).

Aa

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

About this color

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

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

Values

HEX#A797CE
RGBrgb(167, 151, 206)
HSLhsl(257, 36%, 70%)
OKLCHoklch(71% 0.081 297.7)

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 #A797CE 2.63:1 Fails Lc -56.5 Large or bold text, headings
Black text on #A797CE 7.96:1 AAA Lc 52.6 Large or bold text, headings
#A797CE text on white 2.63:1 Fails Lc 51.4 Large or bold text, headings
#A797CE text on black 7.96:1 AAA Lc -50.5 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #EBE8F3

    oklch(93.7% 0.015 298.6)

  3. Step 200

    200

    #DBD6EA

    oklch(88.6% 0.028 297.3)

  4. Step 300

    300

    #C4BADE

    oklch(80.9% 0.051 298)

  5. Step 400

    400 (this color)

    #A797CE

    oklch(71% 0.081 297.7)

  6. Step 500

    500

    #917BC0

    oklch(63% 0.104 298)

  7. Step 600

    600

    #7B64AC

    oklch(55.6% 0.111 297.4)

  8. Step 700

    700

    #685294

    oklch(49.1% 0.105 297.8)

  9. Step 800

    800

    #554478

    oklch(42.8% 0.086 297.7)

  10. Step 900

    900

    #463961

    oklch(37.7% 0.068 298)

  11. Step 950

    950

    #292239

    oklch(27.1% 0.043 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#A797CE 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)#8B9FD00.042
Deuteranopia (no green cones)#8D9FCC0.041
Tritanopia (no blue cones)#A09FAA0.065
Achromatopsia (no color)#9F9F9F0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #A797CE

    #A797CE

    oklch(71% 0.081 297.7)

  • #9DA96E

    #9DA96E

    oklch(71.1% 0.081 117.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A797CE

    #A797CE

    oklch(71% 0.081 297.7)

  • #8BA0D5

    #8BA0D5

    oklch(70.9% 0.081 267.6)

  • #BD90BC

    #BD90BC

    oklch(71% 0.081 327.1)

Open the analogous palette in the generator

Split complementary

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

  • #A797CE

    #A797CE

    oklch(71% 0.081 297.7)

  • #B79F65

    #B79F65

    oklch(71% 0.081 87.8)

  • #7FB085

    #7FB085

    oklch(71.1% 0.081 147.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A797CE

    #A797CE

    oklch(71% 0.081 297.7)

  • #C8956F

    #C8956F

    oklch(71% 0.081 57.7)

  • #66B2A1

    #66B2A1

    oklch(70.9% 0.08 177.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A797CE

    #A797CE

    oklch(71% 0.081 297.7)

  • #CF8E86

    #CF8E86

    oklch(70.9% 0.081 27.1)

  • #9DA96E

    #9DA96E

    oklch(71.1% 0.081 117.9)

  • #5FB0BC

    #5FB0BC

    oklch(71% 0.081 208)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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