#AF97D0

Closest named color: Pale Purple (#B790D4). oklch(71.8% 0.085 303.6), rgb(175, 151, 208).

Aa

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

About this color

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

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

Values

HEX#AF97D0
RGBrgb(175, 151, 208)
HSLhsl(265, 38%, 70%)
OKLCHoklch(71.8% 0.085 303.6)

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 #AF97D0 2.57:1 Fails Lc -55.4 Large or bold text, headings
Black text on #AF97D0 8.16:1 AAA Lc 53.7 Large or bold text, headings
#AF97D0 text on white 2.57:1 Fails Lc 50.3 Large or bold text, headings
#AF97D0 text on black 8.16: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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #ECE8F3

    oklch(93.7% 0.015 302.5)

  3. Step 200

    200

    #DDD5EA

    oklch(88.6% 0.03 303)

  4. Step 300

    300

    #C8B9DD

    oklch(81% 0.052 304.1)

  5. Step 400

    400 (this color)

    #AF97D0

    oklch(71.8% 0.085 303.6)

  6. Step 500

    500

    #9778BF

    oklch(63% 0.109 303.5)

  7. Step 600

    600

    #8260AC

    oklch(55.6% 0.119 303.4)

  8. Step 700

    700

    #6E4F93

    oklch(49.1% 0.11 303.6)

  9. Step 800

    800

    #5A4177

    oklch(42.7% 0.091 304.2)

  10. Step 900

    900

    #4A3760

    oklch(37.6% 0.072 304.5)

  11. Step 950

    950

    #2B2138

    oklch(27% 0.044 303.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF97D0 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)#8CA1D20.052
Deuteranopia (no green cones)#90A1CE0.049
Tritanopia (no blue cones)#AA9FAB0.066
Achromatopsia (no color)#A1A1A10.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF97D0

    #AF97D0

    oklch(71.8% 0.085 303.6)

  • #99AD71

    #99AD71

    oklch(71.7% 0.085 123.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF97D0

    #AF97D0

    oklch(71.8% 0.085 303.6)

  • #93A0DA

    #93A0DA

    oklch(71.7% 0.086 274.3)

  • #C590BA

    #C590BA

    oklch(71.8% 0.085 334)

Open the analogous palette in the generator

Split complementary

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

  • #AF97D0

    #AF97D0

    oklch(71.8% 0.085 303.6)

  • #B6A364

    #B6A364

    oklch(71.8% 0.085 93.2)

  • #79B48B

    #79B48B

    oklch(71.8% 0.086 153.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF97D0

    #AF97D0

    oklch(71.8% 0.085 303.6)

  • #CA996B

    #CA996B

    oklch(71.9% 0.085 64)

  • #60B6A9

    #60B6A9

    oklch(71.9% 0.086 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF97D0

    #AF97D0

    oklch(71.8% 0.085 303.6)

  • #D49181

    #D49181

    oklch(71.9% 0.085 34)

  • #99AD71

    #99AD71

    oklch(71.7% 0.085 123.5)

  • #5EB2C4

    #5EB2C4

    oklch(71.8% 0.085 213.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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