#AF97C2

Closest named color: Pale Purple (#B790D4). oklch(71.2% 0.067 309.9), rgb(175, 151, 194).

Aa

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

About this color

#AF97C2 is a medium-light, muted purple. In OKLCH its lightness is 71%, its chroma 0.067 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.038 away. Black text reads best on it, at 8.02:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamuted (0.067)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.02:1
White text2.61:1

Values

HEX#AF97C2
RGBrgb(175, 151, 194)
HSLhsl(273, 26%, 68%)
OKLCHoklch(71.2% 0.067 309.9)

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 #AF97C2 2.61:1 Fails Lc -56.2 Large or bold text, headings
Black text on #AF97C2 8.02:1 AAA Lc 53.0 Large or bold text, headings
#AF97C2 text on white 2.61:1 Fails Lc 51.0 Large or bold text, headings
#AF97C2 text on black 8.02:1 AAA Lc -50.9 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

    #F6F4F8

    oklch(97% 0.006 308.4)

  2. Step 100

    100

    #ECE8F0

    oklch(93.6% 0.011 308.3)

  3. Step 200

    200

    #DED5E5

    oklch(88.5% 0.024 310.7)

  4. Step 300

    300

    #C9BAD5

    oklch(81% 0.041 310.2)

  5. Step 400

    400 (this color)

    #AF97C2

    oklch(71.2% 0.067 309.9)

  6. Step 500

    500

    #997BB0

    oklch(63.1% 0.085 309.9)

  7. Step 600

    600

    #84639C

    oklch(55.5% 0.094 310.1)

  8. Step 700

    700

    #705285

    oklch(49.1% 0.086 310.5)

  9. Step 800

    800

    #5B446C

    oklch(42.8% 0.07 310)

  10. Step 900

    900

    #4B3958

    oklch(37.7% 0.056 310.4)

  11. Step 950

    950

    #2C2233

    oklch(27.1% 0.034 310.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF97C2 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)#909FC40.046
Deuteranopia (no green cones)#95A0C10.043
Tritanopia (no blue cones)#AD9CA60.048
Achromatopsia (no color)#A0A0A00.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF97C2

    #AF97C2

    oklch(71.2% 0.067 309.9)

  • #95AB7F

    #95AB7F

    oklch(71.3% 0.066 129.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF97C2

    #AF97C2

    oklch(71.2% 0.067 309.9)

  • #999ECC

    #999ECC

    oklch(71.2% 0.067 279.7)

  • #BF92AF

    #BF92AF

    oklch(71.1% 0.067 340.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF97C2

    #AF97C2

    oklch(71.2% 0.067 309.9)

  • #ACA473

    #ACA473

    oklch(71.3% 0.067 100)

  • #7DB094

    #7DB094

    oklch(71.3% 0.068 160)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF97C2

    #AF97C2

    oklch(71.2% 0.067 309.9)

  • #BE9B74

    #BE9B74

    oklch(71.2% 0.068 69.4)

  • #6FB0AB

    #6FB0AB

    oklch(71.2% 0.067 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF97C2

    #AF97C2

    oklch(71.2% 0.067 309.9)

  • #C79583

    #C79583

    oklch(71.3% 0.066 40.7)

  • #95AB7F

    #95AB7F

    oklch(71.3% 0.066 129.6)

  • #71ACBF

    #71ACBF

    oklch(71.1% 0.067 220.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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