#AF97DA

Closest named color: Pale Purple (#B790D4). oklch(72.2% 0.099 300.4), rgb(175, 151, 218).

Aa

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

About this color

#AF97DA is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.099 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.020 away. Black text reads best on it, at 8.26:1.

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

Values

HEX#AF97DA
RGBrgb(175, 151, 218)
HSLhsl(261, 48%, 72%)
OKLCHoklch(72.2% 0.099 300.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 #AF97DA 2.54:1 Fails Lc -54.9 Large or bold text, headings
Black text on #AF97DA 8.26:1 AAA Lc 54.3 Large or bold text, headings
#AF97DA text on white 2.54:1 Fails Lc 49.8 Large or bold text, headings
#AF97DA text on black 8.26:1 AAA Lc -52.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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE7F4

    oklch(93.5% 0.018 300.1)

  3. Step 200

    200

    #DCD4ED

    oklch(88.4% 0.035 300.3)

  4. Step 300

    300

    #C7B8E3

    oklch(80.9% 0.062 301)

  5. Step 400

    400 (this color)

    #AF97DA

    oklch(72.2% 0.099 300.4)

  6. Step 500

    500

    #9676CA

    oklch(63.1% 0.127 300.4)

  7. Step 600

    600

    #815DB6

    oklch(55.5% 0.137 300.7)

  8. Step 700

    700

    #6D4D9D

    oklch(49.2% 0.127 300.3)

  9. Step 800

    800

    #593F7F

    oklch(42.7% 0.105 300.8)

  10. Step 900

    900

    #493666

    oklch(37.7% 0.082 300.8)

  11. Step 950

    950

    #2B203C

    oklch(27.1% 0.052 301.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF97DA 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)#88A2DD0.057
Deuteranopia (no green cones)#8CA2D80.054
Tritanopia (no blue cones)#A8A1AF0.077
Achromatopsia (no color)#A2A2A20.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF97DA

    #AF97DA

    oklch(72.2% 0.099 300.4)

  • #9DAF66

    #9DAF66

    oklch(72.3% 0.099 120.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF97DA

    #AF97DA

    oklch(72.2% 0.099 300.4)

  • #8EA2E4

    #8EA2E4

    oklch(72.2% 0.099 270.8)

  • #C98EC2

    #C98EC2

    oklch(72.1% 0.099 330.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF97DA

    #AF97DA

    oklch(72.2% 0.099 300.4)

  • #BDA359

    #BDA359

    oklch(72.3% 0.099 90.5)

  • #76B785

    #76B785

    oklch(72.2% 0.099 150.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF97DA

    #AF97DA

    oklch(72.2% 0.099 300.4)

  • #D39664

    #D39664

    oklch(72.2% 0.099 59.7)

  • #54BAA8

    #54BAA8

    oklch(72.3% 0.099 180.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF97DA

    #AF97DA

    oklch(72.2% 0.099 300.4)

  • #DC8E80

    #DC8E80

    oklch(72.3% 0.098 30.7)

  • #9DAF66

    #9DAF66

    oklch(72.3% 0.099 120.3)

  • #4DB6C8

    #4DB6C8

    oklch(72.2% 0.099 210.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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